mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-17 04:39:34 +00:00
x86jit: Fix spill on sc in longer block.
This commit is contained in:
parent
9d058ef312
commit
1fad623397
@ -428,6 +428,12 @@ namespace MIPSComp {
|
||||
break;
|
||||
|
||||
case 56: // sc
|
||||
// Map before the jump in case any regs spill. Unlock happens inside CompITypeMemWrite().
|
||||
// This is not a very common op, but it's in jit so memory breakpoints can trip.
|
||||
gpr.Lock(rt, rs);
|
||||
gpr.MapReg(rt, true, true);
|
||||
gpr.MapReg(rs, true, false);
|
||||
|
||||
CMP(8, MDisp(X64JitConstants::CTXREG, -128 + offsetof(MIPSState, llBit)), Imm8(1));
|
||||
skipStore = J_CC(CC_NE);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user