mirror of
https://github.com/libretro/snes9x.git
synced 2024-12-15 04:58:36 +00:00
win32: use WM_CLOSE when exiting via menu (fixes #349)
This commit is contained in:
parent
77c30172a4
commit
2a3cafb6b2
@ -1998,7 +1998,7 @@ LRESULT CALLBACK WinProc(
|
||||
|
||||
case ID_FILE_EXIT:
|
||||
S9xSetPause (PAUSE_EXIT);
|
||||
PostMessage (hWnd, WM_DESTROY, 0, 0);
|
||||
PostMessage (hWnd, WM_CLOSE, 0, 0);
|
||||
break;
|
||||
|
||||
case ID_WINDOW_HIDEMENUBAR:
|
||||
|
Loading…
Reference in New Issue
Block a user