[Project64] Add singnal handling for exception

This commit is contained in:
zilmar 2016-06-05 10:32:30 +10:00
parent d4ef667aa7
commit e064ded7b8
1 changed files with 6 additions and 0 deletions

View File

@ -237,6 +237,12 @@ bool AppInit(CNotification * Notify, const char * BaseDirectory, int argc, char
#ifdef _WIN32
CMipsMemoryVM::ReserveMemory();
IncreaseThreadPriority();
#else
if (!CMipsMemoryVM::SetupSegvHandler())
{
WriteTrace(TraceAppInit, TraceDebug, "Setup Segv Handler Failed");
return false;
}
#endif
//Create the plugin container