mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Fix a crash with fastmem disabled.
When the core is busy shutting down only uninstall the exception handler if fastmem is actually enabled. We only install when fastmem is enabled, so only uninstall when it is as well. Fixes a crash I was getting on ARMv7.
This commit is contained in:
@ -337,7 +337,8 @@ static void CpuThread()
|
||||
if (!_CoreParameter.bCPUThread)
|
||||
g_video_backend->Video_Cleanup();
|
||||
|
||||
EMM::UninstallExceptionHandler();
|
||||
if (_CoreParameter.bFastmem)
|
||||
EMM::UninstallExceptionHandler();
|
||||
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user