Fixed the save state hotkeys so that they work with the Render to Main Window option.

This commit is contained in:
skidau
2015-02-04 23:23:52 +11:00
parent 7216e94823
commit cc6b55ee2a

View File

@ -1398,8 +1398,6 @@ void CFrame::ParseHotkeys(wxKeyEvent &event)
}
unsigned int i = NUM_HOTKEYS;
if (!SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain || TASInputHasFocus())
{
for (i = 0; i < NUM_HOTKEYS; i++)
{
if (IsHotkey(event, i))
@ -1419,7 +1417,6 @@ void CFrame::ParseHotkeys(wxKeyEvent &event)
}
}
}
}
// On OS X, we claim all keyboard events while
// emulation is running to avoid wxWidgets sounding
// the system beep for unhandled key events when