Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #10171 from malleoz/fix-frame-advance-speed
Fix swapped frame advance speed increase/decrease
  • Loading branch information
leoetlino committed Oct 16, 2021
2 parents 8195d0b + ea81346 commit f0faf37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/DolphinQt/HotkeyScheduler.cpp
Expand Up @@ -89,13 +89,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;
}

Expand Down

0 comments on commit f0faf37

Please sign in to comment.