Don't update tools twice at the end of a turbo seek.
This commit is contained in:
parent
e3e1b222e2
commit
e473c7b88f
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue