win32: pause works as a hotkey

This commit is contained in:
p989 2009-05-09 02:51:11 +00:00
parent dd00cbd1b7
commit 6047ff9c72
1 changed files with 4 additions and 1 deletions

View File

@ -2659,6 +2659,7 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
//break;
case WM_KEYDOWN:
if(wParam != VK_PAUSE)
break;
case WM_SYSKEYDOWN:
case WM_CUSTKEYDOWN:
@ -2669,6 +2670,8 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
break;
}
case WM_KEYUP:
if(wParam != VK_PAUSE)
break;
case WM_SYSKEYUP:
case WM_CUSTKEYUP:
{