diff --git a/BizHawk.Client.Common/movie/bk2/Bk2Movie.cs b/BizHawk.Client.Common/movie/bk2/Bk2Movie.cs index b030fc388d..93818b6998 100644 --- a/BizHawk.Client.Common/movie/bk2/Bk2Movie.cs +++ b/BizHawk.Client.Common/movie/bk2/Bk2Movie.cs @@ -90,7 +90,7 @@ namespace BizHawk.Client.Common public virtual void Truncate(int frame) { // This is a bad way to do multitrack logic, pass the info in instead of going to the global - // and it is weird for Truncte to possibly not truncate + // and it is weird for Truncate to possibly not truncate if (!Global.MovieSession.MultiTrack.IsActive) { if (frame < _log.Count) diff --git a/BizHawk.Client.Common/movie/tasproj/TasMovie.Editing.cs b/BizHawk.Client.Common/movie/tasproj/TasMovie.Editing.cs index 533d0bacec..50bbcea683 100644 --- a/BizHawk.Client.Common/movie/tasproj/TasMovie.Editing.cs +++ b/BizHawk.Client.Common/movie/tasproj/TasMovie.Editing.cs @@ -25,13 +25,17 @@ namespace BizHawk.Client.Common StateManager.Capture(); } + /// + /// Truncate all frames including starting frame to end of movie. + /// + /// First frame to be truncated. public override void Truncate(int frame) { base.Truncate(frame); if (frame < LagLog.Count) { - LagLog.RemoveRange(frame + 2, LagLog.Count - frame - 1); + LagLog.RemoveRange(frame, LagLog.Count - frame - 1); } StateManager.Invalidate(frame + 1);