Interpreter: Fix warning from reading 64 bit GPR into u32 variable.

The PS2 has 32 bit addresses!
This commit is contained in:
Ty 2025-10-25 12:56:29 -04:00 committed by Ty
parent 26a68ef76a
commit cb0bf953d3

View File

@ -84,7 +84,7 @@ void intBreakpoint(bool memcheck)
void intMemcheck(u32 op, u32 bits, bool store) void intMemcheck(u32 op, u32 bits, bool store)
{ {
// compute accessed address // compute accessed address
u32 start = cpuRegs.GPR.r[(op >> 21) & 0x1F].UD[0]; u32 start = cpuRegs.GPR.r[(op >> 21) & 0x1F].UL[0];
if (static_cast<s16>(op) != 0) if (static_cast<s16>(op) != 0)
start += static_cast<s16>(op); start += static_cast<s16>(op);
if (bits == 128) if (bits == 128)