From 6bd2df3bbf891d4b01e1ab4f9a2d43c38159eff1 Mon Sep 17 00:00:00 2001 From: adelikat Date: Wed, 11 Jun 2014 02:44:08 +0000 Subject: [PATCH] and that --- BizHawk.Client.EmuHawk/movie/PlayMovie.cs | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/BizHawk.Client.EmuHawk/movie/PlayMovie.cs b/BizHawk.Client.EmuHawk/movie/PlayMovie.cs index 6ed14b8158..aabd74d711 100644 --- a/BizHawk.Client.EmuHawk/movie/PlayMovie.cs +++ b/BizHawk.Client.EmuHawk/movie/PlayMovie.cs @@ -14,7 +14,7 @@ namespace BizHawk.Client.EmuHawk { public partial class PlayMovie : Form { - // Movies 2.0 TODO: this is hopelessly Movie.cs specific, to make it generic, make a MovieLoader class that receives a path and returns an IMovie, that does the logic of determining bkm, bk2, or tasproj + // Movies 2.0 TODO: this is hopelessly Movie.cs specific, make it generic, private List _movieList = new List(); private bool _sortReverse; private string _sortedCol; @@ -75,27 +75,6 @@ namespace BizHawk.Client.EmuHawk } } - private void AddStateToList(string filename) - { - using (var file = new HawkFile(filename)) - { - if (file.Exists) - { - if (!IsDuplicateOf(filename).HasValue) - { - var movie = new Movie(file.CanonicalFullPath); - movie.Load(); // State files will have to load everything unfortunately - if (movie.FrameCount > 0) - { - _movieList.Add(movie); - _sortReverse = false; - _sortedCol = string.Empty; - } - } - } - } - } - private int? AddMovieToList(string filename, bool force) { using (var file = new HawkFile(filename))