ugh, need to fix MovieSession getting referenced too late for a lot of movie code

This commit is contained in:
adelikat 2020-06-02 20:06:29 -05:00
parent c2e158b0f2
commit bafc31d282
2 changed files with 2 additions and 2 deletions

View File

@ -160,7 +160,7 @@ namespace BizHawk.Client.Common
SetCycleValues(); // We are pretending these only need to be set on save
CreateDirectoryIfNotExists(fn);
using var bs = new ZipStateSaver(fn, Session.Settings.MovieCompressionLevel);
using var bs = new ZipStateSaver(fn, Global.MovieSession.Settings.MovieCompressionLevel);
AddLumps(bs);
if (!isBackup)

View File

@ -9,7 +9,7 @@ namespace BizHawk.Client.Common
public virtual void StartNewRecording()
{
Mode = MovieMode.Record;
if (Global.Config.Movies.EnableBackupMovies && MakeBackup && Log.Any())
if (Session.Settings.EnableBackupMovies && MakeBackup && Log.Any())
{
SaveBackup();
MakeBackup = false;