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:
Ziemas
2026-06-23 01:57:44 +02:00
committed by Ty
parent 247cda0e26
commit 59feb88ef7
+2 -1
View File
@@ -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)