Crash Handler 2.0 (#1466)
* Linux side done * Win V2. need to fix message box. * Fix message box.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "soh/OTRGlobals.h"
|
||||
|
||||
#include <libultraship/CrashHandler.h>
|
||||
#include "soh/CrashHandlerExp.h"
|
||||
|
||||
|
||||
s32 gScreenWidth = SCREEN_WIDTH;
|
||||
@@ -44,11 +45,7 @@ int APIENTRY WinMain(HINSTANCE hInst, HINSTANCE hInstPrev, PSTR cmdline, int cmd
|
||||
int main(int argc, char** argv)
|
||||
#endif
|
||||
{
|
||||
#ifdef __linux__
|
||||
SetupHandlerLinux();
|
||||
#elif _WIN32
|
||||
SetUnhandledExceptionFilter(seh_filter);
|
||||
#endif
|
||||
CrashHandler_Init(CrashHandler_PrintSohData);
|
||||
|
||||
GameConsole_Init();
|
||||
InitOTR();
|
||||
|
||||
Reference in New Issue
Block a user