public void RunQueuedMovie(bool recordMode, IEmulator emulator) { _queuedMovie.Attach(this, emulator); foreach (var previousPref in _preferredCores) { Global.Config.PreferredCores[previousPref.Key] = previousPref.Value; } Movie = _queuedMovie; _queuedMovie = null; MultiTrack.Restart(Movie.Emulator.ControllerDefinition.PlayerCount); Movie.ProcessSavestate(Movie.Emulator); Movie.ProcessSram(Movie.Emulator); if (recordMode) { Movie.StartNewRecording(); ReadOnly = false; } else { Movie.StartNewPlayback(); } }
public void RunQueuedMovie(bool recordMode, IEmulator emulator, IDictionary <string, string> preferredCores) { MovieController = new Bk2Controller(emulator.ControllerDefinition); _queuedMovie.Attach(emulator); foreach (var previousPref in _preferredCores) { preferredCores[previousPref.Key] = previousPref.Value; } Movie = _queuedMovie; _queuedMovie = null; Movie.ProcessSavestate(Movie.Emulator); Movie.ProcessSram(Movie.Emulator); if (recordMode) { Movie.StartNewRecording(); ReadOnly = false; } else { Movie.StartNewPlayback(); } }