diff --git a/BizHawk.Client.Common/movie/bk2/Bk2Movie.InputLog.cs b/BizHawk.Client.Common/movie/bk2/Bk2Movie.InputLog.cs index 104c43d595..ec085e6fdb 100644 --- a/BizHawk.Client.Common/movie/bk2/Bk2Movie.InputLog.cs +++ b/BizHawk.Client.Common/movie/bk2/Bk2Movie.InputLog.cs @@ -153,14 +153,14 @@ namespace BizHawk.Client.Common { if (!Global.Config.VBAStyleMovieLoadState) { - _log.TruncateMovie(stateFramei); + _log.Truncate(stateFramei); } } else if (stateFramei > _log.Count) // Post movie savestate { if (!Global.Config.VBAStyleMovieLoadState) { - _log.TruncateMovie(_log.Count); + _log.Truncate(_log.Count); } _mode = Moviemode.Finished; diff --git a/BizHawk.Client.Common/movie/bk2/Bk2Movie.cs b/BizHawk.Client.Common/movie/bk2/Bk2Movie.cs index f4b933faa2..a1eccc2ba2 100644 --- a/BizHawk.Client.Common/movie/bk2/Bk2Movie.cs +++ b/BizHawk.Client.Common/movie/bk2/Bk2Movie.cs @@ -101,7 +101,7 @@ namespace BizHawk.Client.Common { if (Global.Emulator.Frame < _log.Count) { - _log.TruncateMovie(Global.Emulator.Frame); + _log.Truncate(Global.Emulator.Frame); } } @@ -114,7 +114,7 @@ namespace BizHawk.Client.Common public void Truncate(int frame) { - _log.TruncateMovie(frame); + _log.Truncate(frame); Changes = true; } diff --git a/BizHawk.Client.Common/movie/bkm/BkmLog.cs b/BizHawk.Client.Common/movie/bkm/BkmLog.cs index 51aa8df06b..3ae1312f2d 100644 --- a/BizHawk.Client.Common/movie/bkm/BkmLog.cs +++ b/BizHawk.Client.Common/movie/bkm/BkmLog.cs @@ -22,12 +22,7 @@ namespace BizHawk.Client.Common } } - public void DeleteFrame(int frame) - { - this.RemoveAt(frame); - } - - public void TruncateMovie(int frame) + public void Truncate(int frame) { if (frame < this.Count) { diff --git a/BizHawk.Client.Common/movie/bkm/BkmMovie.InputLog.cs b/BizHawk.Client.Common/movie/bkm/BkmMovie.InputLog.cs index 06b0cbaa26..47d3b195ef 100644 --- a/BizHawk.Client.Common/movie/bkm/BkmMovie.InputLog.cs +++ b/BizHawk.Client.Common/movie/bkm/BkmMovie.InputLog.cs @@ -156,14 +156,14 @@ namespace BizHawk.Client.Common { if (!Global.Config.VBAStyleMovieLoadState) { - _log.TruncateMovie(stateFramei); + _log.Truncate(stateFramei); } } else if (stateFramei > _log.Count) // Post movie savestate { if (!Global.Config.VBAStyleMovieLoadState) { - _log.TruncateMovie(_log.Count); + _log.Truncate(_log.Count); } _mode = Moviemode.Finished; diff --git a/BizHawk.Client.Common/movie/bkm/BkmMovie.cs b/BizHawk.Client.Common/movie/bkm/BkmMovie.cs index c5d782cf3d..43c09aed5e 100644 --- a/BizHawk.Client.Common/movie/bkm/BkmMovie.cs +++ b/BizHawk.Client.Common/movie/bkm/BkmMovie.cs @@ -142,7 +142,7 @@ namespace BizHawk.Client.Common public void Truncate(int frame) { - _log.TruncateMovie(frame); + _log.Truncate(frame); _changes = true; } @@ -164,7 +164,7 @@ namespace BizHawk.Client.Common { if (Global.Emulator.Frame < _log.Count) { - _log.TruncateMovie(Global.Emulator.Frame); + _log.Truncate(Global.Emulator.Frame); } }