mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
Fixed the save state hotkeys so that they work with the Render to Main Window option.
This commit is contained in:
parent
7216e94823
commit
cc6b55ee2a
1 changed files with 11 additions and 14 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue