mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-17 15:59:00 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -623,6 +623,7 @@ void JitArm64::Jit(u32)
|
||||||
NPC = nextPC;
|
NPC = nextPC;
|
||||||
PowerPC::ppcState.Exceptions |= EXCEPTION_ISI;
|
PowerPC::ppcState.Exceptions |= EXCEPTION_ISI;
|
||||||
PowerPC::CheckExceptions();
|
PowerPC::CheckExceptions();
|
||||||
|
Common::JITPageWriteDisableExecuteEnable();
|
||||||
WARN_LOG_FMT(POWERPC, "ISI exception at {:#010x}", nextPC);
|
WARN_LOG_FMT(POWERPC, "ISI exception at {:#010x}", nextPC);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue