small cleanup on RecordMovie

This commit is contained in:
adelikat 2014-06-14 00:46:41 +00:00
parent 01fd28f4b0
commit 9f7685a211
1 changed files with 1 additions and 3 deletions

View File

@ -58,8 +58,7 @@ namespace BizHawk.Client.EmuHawk
} }
} }
// Movies 2.0 TODO var movieToRecord = MovieService.Get(path);
IMovie movieToRecord = MovieService.Get(path);
if (StartFromCombo.SelectedItem.ToString() == "Now") if (StartFromCombo.SelectedItem.ToString() == "Now")
{ {
@ -84,7 +83,6 @@ namespace BizHawk.Client.EmuHawk
movieToRecord.EmulatorVersion = VersionInfo.GetEmuVersion(); movieToRecord.EmulatorVersion = VersionInfo.GetEmuVersion();
movieToRecord.Platform = Global.Game.System; movieToRecord.Platform = Global.Game.System;
// Sync Settings, for movies 1.0, just dump a json blob into a header line
movieToRecord.SyncSettingsJson = ConfigService.SaveWithType(Global.Emulator.GetSyncSettings()); movieToRecord.SyncSettingsJson = ConfigService.SaveWithType(Global.Emulator.GetSyncSettings());
if (Global.Game != null) if (Global.Game != null)