aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/dllmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/dllmain.cpp')
-rw-r--r--NorthstarDLL/dllmain.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/NorthstarDLL/dllmain.cpp b/NorthstarDLL/dllmain.cpp
index 87c72dcf..cfcc1a8c 100644
--- a/NorthstarDLL/dllmain.cpp
+++ b/NorthstarDLL/dllmain.cpp
@@ -49,7 +49,9 @@ bool InitialiseNorthstar()
InitialiseVersion();
CreateLogFiles();
- InitialiseCrashHandler();
+ g_pCrashHandler = new CCrashHandler();
+ bool bAllFatal = strstr(GetCommandLineA(), "-crash_handle_all") != NULL;
+ g_pCrashHandler->SetAllFatal(bAllFatal);
// Write launcher version to log
StartupLog();