From e3e1b222e275fcd123a3d1e1a59b983940416da7 Mon Sep 17 00:00:00 2001 From: SuuperW Date: Sat, 22 Jan 2022 19:24:31 -0600 Subject: [PATCH] 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. --- src/BizHawk.Client.EmuHawk/MainForm.cs | 3 ++- src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/BizHawk.Client.EmuHawk/MainForm.cs b/src/BizHawk.Client.EmuHawk/MainForm.cs index 47064a7dd5..2ad6a1be8d 100644 --- a/src/BizHawk.Client.EmuHawk/MainForm.cs +++ b/src/BizHawk.Client.EmuHawk/MainForm.cs @@ -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(); diff --git a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs index 82432f22aa..c2ffcddb92 100644 --- a/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs +++ b/src/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.ListView.cs @@ -123,6 +123,7 @@ namespace BizHawk.Client.EmuHawk if (CurrentTasMovie != null) { RefreshDialog(); + UpdateProgressBar(); } }