Permalink
Browse files

Merge pull request #7329 from delroth/not64

Jit64: Update PC before checking for exceptions
  • Loading branch information...
degasus committed Aug 14, 2018
2 parents 60f12e1 + 6c1f394 commit 799b80fb14cc9d5570f8e9479d7ddbf47c4531b2
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 799b80f

Please sign in to comment.