diff --git a/Source/appfat.cpp b/Source/appfat.cpp index 3a718c08b..c319e04d2 100644 --- a/Source/appfat.cpp +++ b/Source/appfat.cpp @@ -484,6 +484,7 @@ void __cdecl app_fatal(const char *pszFmt, ...) init_cleanup(FALSE); exit(1); + ExitProcess(1); } void MsgBox(const char *pszFmt, va_list va) diff --git a/comparer-config/diablo.toml b/comparer-config/diablo.toml index d021375de..e94444af4 100644 --- a/comparer-config/diablo.toml +++ b/comparer-config/diablo.toml @@ -30,7 +30,7 @@ size = 0xD [[func]] name = "app_fatal" addr = 0x401947 -size = 0x24 +size = 0x2E [[func]] name = "MsgBox"