From 8118947ab059b4ffec91ed87620f777e1b0ef09e Mon Sep 17 00:00:00 2001 From: louist103 <35883445+louist103@users.noreply.github.com> Date: Sat, 3 Sep 2022 01:15:43 -0400 Subject: Windows crash handler. (#1383) * Windows crash handler. * Fix naming convention. --- soh/src/code/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'soh/src/code') 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(); -- cgit v1.2.3