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:
Skyler Saleh 2021-03-21 11:06:32 -07:00
parent 38861f6782
commit f92ccd5058
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}