mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
Fix Frame Advance Hold Delay Changes
Fixes the issues of modifying the frame advance speed increase/decrease not actually doing anything
This commit is contained in:
parent
ffb9722f2d
commit
1ea9b36e3b
1 changed files with 5 additions and 1 deletions
|
@ -1568,12 +1568,16 @@ void CFrame::HandleFrameSkipHotkeys()
|
||||||
wxCommandEvent evt;
|
wxCommandEvent evt;
|
||||||
evt.SetId(IDM_FRAMESTEP);
|
evt.SetId(IDM_FRAMESTEP);
|
||||||
CFrame::OnFrameStep(evt);
|
CFrame::OnFrameStep(evt);
|
||||||
if (holdFrameStepDelay > 0 && frameStepCount == 0)
|
if (holdFrameStepDelay > 0)
|
||||||
holdFrameStep = true;
|
holdFrameStep = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (frameStepCount < FRAME_STEP_DELAY)
|
if (frameStepCount < FRAME_STEP_DELAY)
|
||||||
|
{
|
||||||
++frameStepCount;
|
++frameStepCount;
|
||||||
|
if (holdFrameStep)
|
||||||
|
holdFrameStep = false;
|
||||||
|
}
|
||||||
|
|
||||||
if (frameStepCount == FRAME_STEP_DELAY && holdFrameStep && holdFrameStepDelayCount >= holdFrameStepDelay)
|
if (frameStepCount == FRAME_STEP_DELAY && holdFrameStep && holdFrameStepDelayCount >= holdFrameStepDelay)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue