Simplify MovieSession a bit

This commit is contained in:
adelikat 2020-05-17 11:23:52 -05:00
parent 3e354ed230
commit c91b17877d
2 changed files with 1 additions and 7 deletions

View File

@ -17,12 +17,6 @@ namespace BizHawk.Client.Common
return new Bk2Movie(path);
}
/// <summary>
/// Creates a standard <see cref="IMovie"/> instance,
/// no path is specified so this is in a minimal state that would not be able to be saved
/// </summary>
public static IMovie Create() => new Bk2Movie();
/// <summary>
/// Creates a <see cref="ITasSession"/> instance
/// </summary>

View File

@ -37,7 +37,7 @@ namespace BizHawk.Client.Common
_modeChangedCallback = modeChangedCallback
?? throw new ArgumentNullException($"{nameof(modeChangedCallback)} CannotUnloadAppDomainException be null.");
Movie = MovieService.Create();
Movie = new Bk2Movie();
}
public IMovie Movie { get; private set; }