mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-15 10:40:39 +01:00
IR5900: fix recMemcheck to not cache loaded reg
This functions calls out of the JIT, so it will get stomped on by something else.
This commit is contained in:
1 parent
247cda0e26
commit
59feb88ef7
1 file changed
+2
-1
@@ -1592,7 +1592,8 @@ void recMemcheck(u32 op, u32 bits, bool store)
|
||||
iFlushCall(FLUSH_EVERYTHING | FLUSH_PC);
|
||||
|
||||
// compute accessed address
|
||||
_eeMoveGPRtoR(ecx, (op >> 21) & 0x1F);
|
||||
// Do not cache reg, we'll call outside jit here
|
||||
_eeMoveGPRtoR(ecx, (op >> 21) & 0x1F, false);
|
||||
if (static_cast<s16>(op) != 0)
|
||||
xADD(ecx, static_cast<s16>(op));
|
||||
if (bits == 128)
|
||||
|
||||
Reference in new issue
Block a user