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:
parent
bd0d5c1a22
commit
28e55d29f2
|
@ -337,7 +337,8 @@ static void CpuThread()
|
|||
if (!_CoreParameter.bCPUThread)
|
||||
g_video_backend->Video_Cleanup();
|
||||
|
||||
EMM::UninstallExceptionHandler();
|
||||
if (_CoreParameter.bFastmem)
|
||||
EMM::UninstallExceptionHandler();
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue