Changed a JMP that needed to be a far JMP in JITIL.
This commit is contained in:
parent
b27f471488
commit
5a8ad92302
|
@ -1388,7 +1388,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit, bool UseProfile, bool Mak
|
|||
Jit->MOV(32, R(ECX), regLocForInst(RI, getOp2(I)));
|
||||
RI.Jit->UnsafeWriteRegToReg(EAX, ECX, 32, 0);
|
||||
}
|
||||
FixupBranch exit = Jit->J();
|
||||
FixupBranch exit = Jit->J(true);
|
||||
Jit->SetJumpTarget(safe);
|
||||
// Safe but slow routine
|
||||
OpArg value = fregLocForInst(RI, getOp1(I));
|
||||
|
|
|
@ -559,9 +559,7 @@ u32 Flatten(u32 address, int *realsize, BlockStats *st, BlockRegStats *gpa,
|
|||
}
|
||||
else
|
||||
{
|
||||
// Critical memory exception occurred (game over)
|
||||
address = LR;
|
||||
broken_block = true;
|
||||
// ISI exception or other critical memory exception occurred (game over)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue