tastudio: don't pause on green arrow is seeking past it

This commit is contained in:
feos 2016-09-08 23:29:17 +03:00
parent 7d1084bf98
commit a0d718acc0
1 changed files with 8 additions and 5 deletions

View File

@ -2866,11 +2866,14 @@ namespace BizHawk.Client.EmuHawk
if (GlobalWin.Tools.IsLoaded<TAStudio>() &&
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)