From 099876782fa1dde03d428738fb7dd17aeff8cc35 Mon Sep 17 00:00:00 2001 From: skidau Date: Sun, 1 Mar 2015 08:23:15 +1100 Subject: [PATCH] Made the "Frame Advance" hotkey work while the key is held --- Source/Core/DolphinWX/Frame.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index 8906dba1f6..5a4e674f32 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -1404,7 +1404,11 @@ void CFrame::ParseHotkeys(wxKeyEvent &event) unsigned int i = NUM_HOTKEYS; for (i = 0; i < NUM_HOTKEYS; i++) { - if (IsHotkey(event, i)) + bool held = false; + if (i == HK_FRAME_ADVANCE) + held = true; + + if (IsHotkey(event, i, held)) { int cmd = GetCmdForHotkey(i); if (cmd >= 0)