Jit64: Update PC before checking for exceptions

This commit is contained in:
Pierre Bourdon 2018-08-14 02:27:48 +02:00
parent 60f12e1d4c
commit 6c1f39458b
1 changed files with 1 additions and 0 deletions

View File

@ -916,6 +916,7 @@ const u8* Jit64::DoJit(u32 em_address, JitBlock* b, u32 nextPC)
fprToFlush[js.revertFprLoad] = false;
gpr.Flush(RegCache::FlushMode::MaintainState, gprToFlush);
fpr.Flush(RegCache::FlushMode::MaintainState, fprToFlush);
MOV(32, PPCSTATE(pc), Imm32(op.address));
WriteExceptionExit();
SwitchToNearCode();
}