mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-16 05:42:55 +00:00
Merge pull request #7329 from delroth/not64
Jit64: Update PC before checking for exceptions
This commit is contained in:
commit
799b80fb14
@ -916,6 +916,7 @@ const u8* Jit64::DoJit(u32 em_address, JitBlock* b, u32 nextPC)
|
|||||||
fprToFlush[js.revertFprLoad] = false;
|
fprToFlush[js.revertFprLoad] = false;
|
||||||
gpr.Flush(RegCache::FlushMode::MaintainState, gprToFlush);
|
gpr.Flush(RegCache::FlushMode::MaintainState, gprToFlush);
|
||||||
fpr.Flush(RegCache::FlushMode::MaintainState, fprToFlush);
|
fpr.Flush(RegCache::FlushMode::MaintainState, fprToFlush);
|
||||||
|
MOV(32, PPCSTATE(pc), Imm32(op.address));
|
||||||
WriteExceptionExit();
|
WriteExceptionExit();
|
||||||
SwitchToNearCode();
|
SwitchToNearCode();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user