mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
Fixed the save state hotkeys so that they work with the Render to Main Window option.
This commit is contained in:
@ -1398,8 +1398,6 @@ void CFrame::ParseHotkeys(wxKeyEvent &event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
unsigned int i = NUM_HOTKEYS;
|
unsigned int i = NUM_HOTKEYS;
|
||||||
if (!SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain || TASInputHasFocus())
|
|
||||||
{
|
|
||||||
for (i = 0; i < NUM_HOTKEYS; i++)
|
for (i = 0; i < NUM_HOTKEYS; i++)
|
||||||
{
|
{
|
||||||
if (IsHotkey(event, i))
|
if (IsHotkey(event, i))
|
||||||
@ -1419,7 +1417,6 @@ void CFrame::ParseHotkeys(wxKeyEvent &event)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
// On OS X, we claim all keyboard events while
|
// On OS X, we claim all keyboard events while
|
||||||
// emulation is running to avoid wxWidgets sounding
|
// emulation is running to avoid wxWidgets sounding
|
||||||
// the system beep for unhandled key events when
|
// the system beep for unhandled key events when
|
||||||
|
Reference in New Issue
Block a user