Ejemplo n.º 1
0
        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();
            }
        }
Ejemplo n.º 2
0
        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();
            }
        }