mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Jit64: Don't flush PC in exception block
These blocks can only be executed as a result of a DSI exception from a loadstore, where we now flush the PC register prior to the loadstore.
This commit is contained in:
parent
8933fe599c
commit
15efd42eba
@ -923,10 +923,6 @@ const u8* Jit64::DoJit(u32 em_address, PPCAnalyst::CodeBuffer* code_buf, JitBloc
|
||||
fprToFlush[js.revertFprLoad] = false;
|
||||
gpr.Flush(RegCache::FlushMode::MaintainState, gprToFlush);
|
||||
fpr.Flush(RegCache::FlushMode::MaintainState, fprToFlush);
|
||||
|
||||
// If a memory exception occurs, the exception handler will read
|
||||
// from PC. Update PC with the latest value in case that happens.
|
||||
MOV(32, PPCSTATE(pc), Imm32(ops[i].address));
|
||||
WriteExceptionExit();
|
||||
SwitchToNearCode();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user