mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
Interpreter: Fix warning from reading 64 bit GPR into u32 variable.
The PS2 has 32 bit addresses!
This commit is contained in:
parent
26a68ef76a
commit
cb0bf953d3
@ -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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user