diff options
| author | louist103 <35883445+louist103@users.noreply.github.com> | 2022-09-26 19:54:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-26 19:54:25 -0400 |
| commit | c21b2e8f00fd05c25e0c7894ec802f20c45fbfc4 (patch) | |
| tree | a924a4721ce8b8f3247b817b5b18410b7dd7a6b7 /soh/src/code | |
| parent | b3c7edcf763491a28820ac6f779d93789d24a9e4 (diff) | |
Crash Handler 2.0 (#1466)
* Linux side done
* Win V2. need to fix message box.
* Fix message box.
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/main.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/soh/src/code/main.c b/soh/src/code/main.c index 9a81ac884..5ad123a26 100644 --- a/soh/src/code/main.c +++ b/soh/src/code/main.c @@ -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(); |
