Apple M1: Fix bug that could cause crash with MMU
Added a Common::JITPageWriteDisableExecuteEnable() that could be missed when a memory exception is triggered by the running game.
This commit is contained in:
parent
38861f6782
commit
f92ccd5058
|
@ -623,6 +623,7 @@ void JitArm64::Jit(u32)
|
|||
NPC = nextPC;
|
||||
PowerPC::ppcState.Exceptions |= EXCEPTION_ISI;
|
||||
PowerPC::CheckExceptions();
|
||||
Common::JITPageWriteDisableExecuteEnable();
|
||||
WARN_LOG_FMT(POWERPC, "ISI exception at {:#010x}", nextPC);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue