mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
make ESC pause the game now instead of quitting plus fix another bug with key and window handling
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5035 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -250,8 +250,8 @@ void OnKeyDown(WPARAM wParam)
|
||||
// Pressing Esc switches to Windowed mode from Fullscreen mode
|
||||
ToggleFullscreen(m_hWnd);
|
||||
}
|
||||
// then stops the emulation if already Windowed
|
||||
SendMessage(m_hWnd, WM_CLOSE, 0, 0);
|
||||
// then pauses the emulation if already Windowed
|
||||
SendMessage(m_hMain, WM_USER, WM_USER_PAUSE, 0);
|
||||
}
|
||||
break;
|
||||
case '3': // OSD keys
|
||||
|
Reference in New Issue
Block a user