From dfc1436c9f3e33503d0f7ef95d369a8f1af6299c 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.) --- src/BizHawk.Client.EmuHawk/MainForm.cs | 3 ++- 1 file changed, 2 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();