mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 12:04:56 +00:00
Merge pull request #2863 from Tilka/fallback
Jit64: load PC only once after fallbacks
This commit is contained in:
commit
58b4b7edea
1 changed files with 1 additions and 2 deletions
|
@ -255,9 +255,8 @@ void Jit64::FallBackToInterpreter(UGeckoInstruction inst)
|
|||
else
|
||||
{
|
||||
MOV(32, R(RSCRATCH), PPCSTATE(npc));
|
||||
SUB(32, R(RSCRATCH), Imm32(js.compilerPC + 4));
|
||||
CMP(32, R(RSCRATCH), Imm32(js.compilerPC + 4));
|
||||
FixupBranch c = J_CC(CC_Z);
|
||||
MOV(32, R(RSCRATCH), PPCSTATE(npc));
|
||||
MOV(32, PPCSTATE(pc), R(RSCRATCH));
|
||||
WriteExceptionExit();
|
||||
SetJumpTarget(c);
|
||||
|
|
Loading…
Add table
Reference in a new issue