mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Merge pull request #10171 from malleoz/fix-frame-advance-speed
Fix swapped frame advance speed increase/decrease
This commit is contained in:
commit
f0faf3712d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user