diff options
| author | louist103 <35883445+louist103@users.noreply.github.com> | 2022-09-03 01:15:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-03 01:15:43 -0400 |
| commit | 8118947ab059b4ffec91ed87620f777e1b0ef09e (patch) | |
| tree | 31111a76a9f80f1074098ce3243537c9cdc49f6c /soh/src/code/main.c | |
| parent | 0ce0ab1260dd24ac6168d1cdd28d60f21554cd86 (diff) | |
Windows crash handler. (#1383)
* Windows crash handler.
* Fix naming convention.
Diffstat (limited to 'soh/src/code/main.c')
| -rw-r--r-- | soh/src/code/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/soh/src/code/main.c b/soh/src/code/main.c index 8e9fe1776..07e54b5be 100644 --- a/soh/src/code/main.c +++ b/soh/src/code/main.c @@ -42,6 +42,8 @@ int main(int argc, char** argv) { #ifdef __linux__ SetupHandlerLinux(); +#elif _WIN32 + SetUnhandledExceptionFilter(seh_filter); #endif GameConsole_Init(); |
