Run exception handlers on an alternate stack on Linux.

*Completely untested.*  Someone please test.
This commit is contained in:
comex
2014-09-07 19:10:02 -04:00
parent bd4e75e69a
commit 7b0fdb52cd
4 changed files with 28 additions and 0 deletions

View File

@ -277,6 +277,10 @@ static void CpuThread()
if (!_CoreParameter.bCPUThread)
g_video_backend->Video_Cleanup();
#if _M_X86_64 || _M_ARM_32
EMM::UninstallExceptionHandler();
#endif
return;
}