mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
Re-replace functions after loading a savestate.
Might need to clear before saving too... anyway, this makes testing a bit easier for certain areas. Also, correctly decrease downcount on x86.
This commit is contained in:
@@ -491,8 +491,8 @@ void Jit::Comp_ReplacementFunc(MIPSOpcode op)
|
||||
// we can emit.
|
||||
|
||||
MOV(32, R(ECX), M(¤tMIPS->r[MIPS_REG_RA]));
|
||||
SUB(32, M(¤tMIPS->downcount - 1), R(EAX));
|
||||
js.downcountAmount = 1; // we just subtracted most of it
|
||||
SUB(32, M(¤tMIPS->downcount), R(EAX));
|
||||
js.downcountAmount = 0; // we just subtracted most of it
|
||||
WriteExitDestInReg(ECX);
|
||||
|
||||
js.compiling = false;
|
||||
|
||||
Reference in New Issue
Block a user