CPU/NewRec: Handle inside-block SMC
i.e. Spyro 2/3 PAL.
This commit is contained in:
@ -1957,6 +1957,10 @@ void CPU::NewRec::AArch64Compiler::TestInterrupts(const vixl::aarch64::WRegister
|
||||
|
||||
SwitchToFarCode(true, ne);
|
||||
BackupHostState();
|
||||
|
||||
// Update load delay, this normally happens at the end of an instruction, but we're finishing it early.
|
||||
UpdateLoadDelay();
|
||||
|
||||
Flush(FLUSH_END_BLOCK | FLUSH_FOR_EXCEPTION | FLUSH_FOR_C_CALL);
|
||||
|
||||
// Can't use EndBlockWithException() here, because it'll use the wrong PC.
|
||||
|
||||
Reference in New Issue
Block a user