ugh, need to fix MovieSession getting referenced too late for a lot of movie code
This commit is contained in:
parent
c2e158b0f2
commit
bafc31d282
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue