mirror of https://github.com/bsnes-emu/bsnes.git
parent
56c9a5195e
commit
fa77fc6a8f
|
@ -4,7 +4,7 @@
|
|||
#undef interface
|
||||
|
||||
static LRESULT CALLBACK VideoDirect3D9_WindowProcedure(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
|
||||
if(msg == WM_SYSKEYDOWN && waram == VK_F4) return false;
|
||||
if(msg == WM_SYSKEYDOWN && wparam == VK_F4) return false;
|
||||
return DefWindowProc(hwnd, msg, wparam, lparam);
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#undef interface
|
||||
|
||||
static LRESULT CALLBACK VideoDirectDraw7_WindowProcedure(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
|
||||
if(msg == WM_SYSKEYDOWN && waram == VK_F4) return false;
|
||||
if(msg == WM_SYSKEYDOWN && wparam == VK_F4) return false;
|
||||
return DefWindowProc(hwnd, msg, wparam, lparam);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
static LRESULT CALLBACK VideoGDI_WindowProcedure(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
|
||||
if(msg == WM_SYSKEYDOWN && waram == VK_F4) return false;
|
||||
if(msg == WM_SYSKEYDOWN && wparam == VK_F4) return false;
|
||||
return DefWindowProc(hwnd, msg, wparam, lparam);
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092
|
||||
|
||||
static LRESULT CALLBACK VideoOpenGL32_WindowProcedure(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
|
||||
if(msg == WM_SYSKEYDOWN && waram == VK_F4) return false;
|
||||
if(msg == WM_SYSKEYDOWN && wparam == VK_F4) return false;
|
||||
return DefWindowProc(hwnd, msg, wparam, lparam);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue