From 937b9663937ca274237ea96e82c92f6498a0edbb Mon Sep 17 00:00:00 2001 From: Morilli <35152647+Morilli@users.noreply.github.com> Date: Wed, 26 Jan 2022 10:39:30 +0100 Subject: [PATCH] Revert "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 reverts commit dfc1436c9f3e33503d0f7ef95d369a8f1af6299c. This caused the progress bar to not disappear after finishing a normal seek. --- src/BizHawk.Client.EmuHawk/MainForm.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/BizHawk.Client.EmuHawk/MainForm.cs b/src/BizHawk.Client.EmuHawk/MainForm.cs index 2ad6a1be8d..47064a7dd5 100644 --- a/src/BizHawk.Client.EmuHawk/MainForm.cs +++ b/src/BizHawk.Client.EmuHawk/MainForm.cs @@ -844,11 +844,10 @@ namespace BizHawk.Client.EmuHawk set { - bool wasTurboSeeking = IsTurboSeeking; _pauseOnFrame = value; SetPauseStatusBarIcon(); - 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 + 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 { Tools.UpdateToolsBefore(); Tools.UpdateToolsAfter();