Permalink
Browse files

Jit64: Update PC before checking for exceptions

  • Loading branch information...
delroth committed Aug 14, 2018
1 parent 60f12e1 commit 6c1f39458b04256732dc7572f6f2d59f2f28ec5e
Showing with 1 addition and 0 deletions.
  1. +1 −0 Source/Core/Core/PowerPC/Jit64/Jit.cpp
@@ -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();
}

0 comments on commit 6c1f394

Please sign in to comment.