use _exit to avoid issues on close
This commit is contained in:
parent
cbeffa867f
commit
d04ada54d9
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
|||
|
||||
if (wParam == SC_CLOSE && !GameHandlesClose)
|
||||
{
|
||||
exit(0);
|
||||
_exit(0);
|
||||
}
|
||||
|
||||
if (wParam == SC_KEYMENU && GetMenu(g_ddraw->hwnd) == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue