From 1ea9b36e3bf1fae5a502cb5fea52632dcd34b638 Mon Sep 17 00:00:00 2001 From: Chris Burgener Date: Mon, 23 Nov 2015 13:53:14 -0500 Subject: [PATCH] Fix Frame Advance Hold Delay Changes Fixes the issues of modifying the frame advance speed increase/decrease not actually doing anything --- 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 75a9de022e..60d9075b6e 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -1568,12 +1568,16 @@ void CFrame::HandleFrameSkipHotkeys() wxCommandEvent evt; evt.SetId(IDM_FRAMESTEP); CFrame::OnFrameStep(evt); - if (holdFrameStepDelay > 0 && frameStepCount == 0) + if (holdFrameStepDelay > 0) holdFrameStep = true; } if (frameStepCount < FRAME_STEP_DELAY) + { ++frameStepCount; + if (holdFrameStep) + holdFrameStep = false; + } if (frameStepCount == FRAME_STEP_DELAY && holdFrameStep && holdFrameStepDelayCount >= holdFrameStepDelay) {