From a0d718acc010af3cfa4cfc874a9b2cf278dbdec5 Mon Sep 17 00:00:00 2001 From: feos Date: Thu, 8 Sep 2016 23:29:17 +0300 Subject: [PATCH] tastudio: don't pause on green arrow is seeking past it --- BizHawk.Client.EmuHawk/MainForm.cs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/BizHawk.Client.EmuHawk/MainForm.cs b/BizHawk.Client.EmuHawk/MainForm.cs index 582c2bb2f1..77b320cc18 100644 --- a/BizHawk.Client.EmuHawk/MainForm.cs +++ b/BizHawk.Client.EmuHawk/MainForm.cs @@ -2866,11 +2866,14 @@ namespace BizHawk.Client.EmuHawk if (GlobalWin.Tools.IsLoaded() && GlobalWin.Tools.TAStudio.LastPositionFrame == Global.Emulator.Frame) { - TasMovieRecord record = (Global.MovieSession.Movie as TasMovie)[Global.Emulator.Frame]; - if (!record.Lagged.HasValue && IsSeeking) - // haven't yet greenzoned the frame, hence it's after editing - // then we want to pause here. taseditor fasion - PauseEmulator(); + if (PauseOnFrame.Value <= GlobalWin.Tools.TAStudio.LastPositionFrame) + { + TasMovieRecord record = (Global.MovieSession.Movie as TasMovie)[Global.Emulator.Frame]; + if (!record.Lagged.HasValue && IsSeeking) + // haven't yet greenzoned the frame, hence it's after editing + // then we want to pause here. taseditor fasion + PauseEmulator(); + } } if (IsSeeking && Global.Emulator.Frame == PauseOnFrame.Value)