diff --git a/Source/Core/DolphinQt/HotkeyScheduler.cpp b/Source/Core/DolphinQt/HotkeyScheduler.cpp index c54af094ce..266ad348f1 100644 --- a/Source/Core/DolphinQt/HotkeyScheduler.cpp +++ b/Source/Core/DolphinQt/HotkeyScheduler.cpp @@ -88,13 +88,13 @@ static void HandleFrameStepHotkeys() if (IsHotkey(HK_FRAME_ADVANCE_INCREASE_SPEED)) { - frame_step_delay = std::min(frame_step_delay + 1, MAX_FRAME_STEP_DELAY); + frame_step_delay = std::max(frame_step_delay - 1, 0); return; } if (IsHotkey(HK_FRAME_ADVANCE_DECREASE_SPEED)) { - frame_step_delay = std::max(frame_step_delay - 1, 0); + frame_step_delay = std::min(frame_step_delay + 1, MAX_FRAME_STEP_DELAY); return; }