Browse Source

Correct size of app_fatal

The call to ExitProcess(1) can be seen in the original ASM, but still
isen't emitted by the compiler for our code :/
pull/704/head
Anders Jenbo 6 years ago
parent
commit
f4c181dd70
  1. 1
      Source/appfat.cpp
  2. 2
      comparer-config/diablo.toml

1
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)

2
comparer-config/diablo.toml

@ -30,7 +30,7 @@ size = 0xD
[[func]]
name = "app_fatal"
addr = 0x401947
size = 0x24
size = 0x2E
[[func]]
name = "MsgBox"

Loading…
Cancel
Save