mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Jit64: Update PC before checking for exceptions
This commit is contained in:
@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user