mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
SDL: handle SDL_QUIT event
Using SDL_INIT_JOYSTICK implies SDL_INIT_EVENTS which installs a signal handler for SIGINT and SIGTERM. There will be a way to prevent this in 2.0.4 but for now we'll need to handle SDL_QUIT.
This commit is contained in:
parent
2f2e514b54
commit
9ec5a4544f
6 changed files with 26 additions and 9 deletions
|
@ -136,6 +136,7 @@ enum HOST_COMM
|
|||
WM_USER_STOP = 10,
|
||||
WM_USER_CREATE,
|
||||
WM_USER_SETCURSOR,
|
||||
WM_USER_QUIT,
|
||||
};
|
||||
|
||||
// Used for notification on emulation state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue