Merge pull request #2116 from Sonicadvance1/fix_exception_handler_crash

Fix a crash with fastmem disabled.
This commit is contained in:
Markus Wick 2015-02-24 12:02:22 +01:00
commit be6a151355
1 changed files with 2 additions and 1 deletions

View File

@ -337,7 +337,8 @@ static void CpuThread()
if (!_CoreParameter.bCPUThread)
g_video_backend->Video_Cleanup();
EMM::UninstallExceptionHandler();
if (_CoreParameter.bFastmem)
EMM::UninstallExceptionHandler();
return;
}