From c22e02d22bf55f5426ad09d3965c3a3508024cac Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 24 May 2020 17:10:14 -0500 Subject: [PATCH] ToTasMovie() extension method - remove vestigial default bool param --- .../movie/conversions/MovieConversionExtensions.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/BizHawk.Client.Common/movie/conversions/MovieConversionExtensions.cs b/src/BizHawk.Client.Common/movie/conversions/MovieConversionExtensions.cs index 26ca9f4f60..d8dcd71d5a 100644 --- a/src/BizHawk.Client.Common/movie/conversions/MovieConversionExtensions.cs +++ b/src/BizHawk.Client.Common/movie/conversions/MovieConversionExtensions.cs @@ -15,7 +15,7 @@ namespace BizHawk.Client.Common.MovieConversionExtensions { public static class MovieConversionExtensions { - public static ITasMovie ToTasMovie(this IMovie old, bool copy = false) + public static ITasMovie ToTasMovie(this IMovie old) { string newFilename = $"{old.Filename}.{TasMovie.Extension}"; @@ -45,10 +45,7 @@ namespace BizHawk.Client.Common.MovieConversionExtensions tas.AppendFrame(input); } - if (!copy) - { - old.Truncate(0); // Trying to minimize ram usage - } + old.Truncate(0); // Trying to minimize ram usage tas.HeaderEntries.Clear(); foreach (var kvp in old.HeaderEntries)