OGL: allow the Esc button to work while windowed and not rendering to main
D3D: fix the wireframe option getting enabled when using the fullscreen option and did some code cleanup git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4555 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
928dc99874
commit
654800458f
File diff suppressed because it is too large
Load Diff
|
@ -244,7 +244,7 @@ void OnKeyDown(WPARAM wParam)
|
|||
switch (LOWORD( wParam ))
|
||||
{
|
||||
case VK_ESCAPE:
|
||||
if (g_Config.bFullscreen && !g_Config.RenderToMainframe)
|
||||
if (!g_Config.RenderToMainframe)
|
||||
{
|
||||
// Pressing Esc stops the emulation
|
||||
SendMessage( m_hWnd, WM_CLOSE, 0, 0 );
|
||||
|
|
Loading…
Reference in New Issue