From ec35080f32218f10e7880541ad7542c22a01b385 Mon Sep 17 00:00:00 2001 From: SuuperW Date: Thu, 27 Jan 2022 10:47:31 -0600 Subject: [PATCH] Don't double update tools when rewinding (or attempting to rewind). --- src/BizHawk.Client.EmuHawk/MainForm.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BizHawk.Client.EmuHawk/MainForm.cs b/src/BizHawk.Client.EmuHawk/MainForm.cs index 5976ba7f1b..efd6ed7283 100644 --- a/src/BizHawk.Client.EmuHawk/MainForm.cs +++ b/src/BizHawk.Client.EmuHawk/MainForm.cs @@ -3188,9 +3188,9 @@ namespace BizHawk.Client.EmuHawk } } } - - if (InputManager.ClientControls["Rewind"] || PressRewind) + else if (isRewinding) { + // Tools will want to be updated after rewind (load state), but we only need to manually do this if we did not frame advance. UpdateToolsAfter(); }