Comment says we want to update after a turbo seek. So, don't update if we weren't turbo seeking. (This removes double-updating tools after reaching the desired frame, unless turbo seek is turned on.)

This commit addresses the regression mentioned in commit 937b966.
This commit is contained in:
SuuperW 2022-01-22 19:24:31 -06:00
parent 2016adcacf
commit e3e1b222e2
2 changed files with 3 additions and 1 deletions

View File

@ -844,10 +844,11 @@ namespace BizHawk.Client.EmuHawk
set
{
bool wasTurboSeeking = IsTurboSeeking;
_pauseOnFrame = value;
SetPauseStatusBarIcon();
if (value == null) // TODO: make an Event handler instead, but the logic here is that after turbo seeking, tools will want to do a real update when the emulator finally pauses
if (wasTurboSeeking && value == null) // TODO: make an Event handler instead, but the logic here is that after turbo seeking, tools will want to do a real update when the emulator finally pauses
{
Tools.UpdateToolsBefore();
Tools.UpdateToolsAfter();

View File

@ -123,6 +123,7 @@ namespace BizHawk.Client.EmuHawk
if (CurrentTasMovie != null)
{
RefreshDialog();
UpdateProgressBar();
}
}