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 is contained in:
SuuperW 2022-01-22 19:24:31 -06:00
parent 9e8cf71509
commit dfc1436c9f
1 changed files with 2 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();