From e064ded7b859237896a79e848027cd7c6f6c093e Mon Sep 17 00:00:00 2001 From: zilmar Date: Sun, 5 Jun 2016 10:32:30 +1000 Subject: [PATCH] [Project64] Add singnal handling for exception --- Source/Project64-core/AppInit.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/Project64-core/AppInit.cpp b/Source/Project64-core/AppInit.cpp index 4983f94bf..5ddb202a6 100644 --- a/Source/Project64-core/AppInit.cpp +++ b/Source/Project64-core/AppInit.cpp @@ -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