summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoSoftware/Src/Win32.cpp
diff options
context:
space:
mode:
authorluisr142004 <luisr142004@gmail.com>2010-02-09 00:34:27 +0000
committerluisr142004 <luisr142004@gmail.com>2010-02-09 00:34:27 +0000
commitc291a2db676c330bec77e77cc08ed5210be3daae (patch)
treeac01153020c6a5802164060096a2866ed29c61ed /Source/Plugins/Plugin_VideoSoftware/Src/Win32.cpp
parente93e777ffb941af612805ee438db5b8c0e5b5c73 (diff)
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
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/Win32.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/Win32.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/Win32.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/Win32.cpp
index 5b374f8ca1..1ce1763454 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/Win32.cpp
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/Win32.cpp
@@ -162,8 +162,8 @@ LRESULT CALLBACK WndProc( HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam )
// Pressing Esc switches to Windowed mode from Fullscreen mode
ToggleFullscreen(hWnd);
}
- // And stops the emulation when already in Windowed mode
- PostMessage(m_hMain, WM_USER, WM_USER_STOP, 0);
+ // And pause the emulation when already in Windowed mode
+ PostMessage(m_hMain, WM_USER, WM_USER_PAUSE, 0);
break;
}
g_VideoInitialize.pKeyPress(LOWORD(wParam), GetAsyncKeyState(VK_SHIFT) != 0, GetAsyncKeyState(VK_CONTROL) != 0);