Don't update tools twice at the end of a turbo seek.

This commit is contained in:
SuuperW 2022-01-27 08:41:32 -06:00
parent e3e1b222e2
commit e473c7b88f
1 changed files with 10 additions and 6 deletions

View File

@ -3134,13 +3134,17 @@ namespace BizHawk.Client.EmuHawk
PressFrameAdvance = false; PressFrameAdvance = false;
if (IsTurboing) // Update tools, but not if we're at the end of a turbo seek. In that case, updating will happen later when the seek is ended.
if (!(IsTurboSeeking && Emulator.Frame == PauseOnFrame.Value))
{ {
Tools.FastUpdateAfter(); if (IsTurboing)
} {
else Tools.FastUpdateAfter();
{ }
UpdateToolsAfter(); else
{
UpdateToolsAfter();
}
} }
if (!PauseAvi && newFrame && !InvisibleEmulation) if (!PauseAvi && newFrame && !InvisibleEmulation)