From e68a1e9786464c501f5596074bbcac5946606b7c Mon Sep 17 00:00:00 2001 From: OV2 Date: Wed, 30 Nov 2011 19:31:27 +0100 Subject: [PATCH] Win32: only allow escape-menu in directdraw --- win32/wsnes9x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/wsnes9x.cpp b/win32/wsnes9x.cpp index 06dfca2b..aaa21d5a 100644 --- a/win32/wsnes9x.cpp +++ b/win32/wsnes9x.cpp @@ -1316,7 +1316,7 @@ int HandleKeyMessage(WPARAM wParam, LPARAM lParam) switch (wParam) { case VK_ESCAPE: - if(GUI.outputMethod==DIRECT3D && GUI.FullScreen && !GUI.EmulateFullscreen) + if(GUI.outputMethod!=DIRECTDRAW && GUI.FullScreen && !GUI.EmulateFullscreen) ToggleFullScreen(); else if (GetMenu (GUI.hWnd) == NULL)