mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-02 14:47:58 +03:00
show message box in S_ExitSystem
This commit is contained in:
parent
a20092577d
commit
61ab7cd60a
2 changed files with 2 additions and 3 deletions
|
@ -111,7 +111,7 @@ void S_ExitSystem(const char *message)
|
|||
free(GameMemoryPointer);
|
||||
}
|
||||
ShutdownHardware();
|
||||
TerminateGame(1);
|
||||
ShowFatalError(message);
|
||||
}
|
||||
|
||||
void init_game_malloc()
|
||||
|
|
|
@ -76,8 +76,7 @@ void ShowFatalError(const char *message)
|
|||
}
|
||||
MessageBoxA(
|
||||
0, message, "Tomb Raider Error", MB_SETFOREGROUND | MB_ICONEXCLAMATION);
|
||||
WinGameFinish();
|
||||
exit(1);
|
||||
TerminateGame(1);
|
||||
}
|
||||
|
||||
static LRESULT WINAPI KeyboardHook(int code, WPARAM wParam, LPARAM lParam)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue