ToTasMovie() extension method - remove vestigial default bool param

This commit is contained in:
adelikat 2020-05-24 17:10:14 -05:00
parent 0acb697808
commit c22e02d22b
1 changed files with 2 additions and 5 deletions

View File

@ -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)