mirror of https://github.com/snes9xgit/snes9x.git
Win32: only allow escape-menu in directdraw
This commit is contained in:
parent
6b17c7d3bd
commit
e68a1e9786
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue