From cdee2c4fd81b069cf285be298c60ec27e5b41949 Mon Sep 17 00:00:00 2001 From: ansstuff Date: Tue, 27 Sep 2011 13:43:30 +0000 Subject: [PATCH] Fixed old bug with "Play Movie From Beginning" --- src/movie.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/movie.cpp b/src/movie.cpp index 6ba5027d..2b3a465a 100644 --- a/src/movie.cpp +++ b/src/movie.cpp @@ -1152,7 +1152,7 @@ void FCEUMOV_AddInputState() joyports[1].log(mr); mr->commands = 0; } - } + } else #endif if(movieMode == MOVIEMODE_PLAY) { @@ -1635,9 +1635,9 @@ void FCEUI_MoviePlayFromBeginning(void) if (currMovieData.savestate.empty()) { movie_readonly=true; + movieMode = MOVIEMODE_PLAY; poweron(true); currFrameCounter=0; - movieMode = MOVIEMODE_PLAY; FCEU_DispMessage("Movie is now Read-Only. Playing from beginning.",0); } else @@ -1650,7 +1650,7 @@ void FCEUI_MoviePlayFromBeginning(void) movie_readonly=true; FCEU_DispMessage("Movie is now Read-Only. Playing from beginning.",0); } - //currMovieData.loadSavestateFrom(&currMovieData.savestate); //TODO: make something like this work instead so it doesn't have to reload + //currMovieData.loadSavestateFrom(&currMovieData.savestate); //TODO: make something like this work instead so it doesn't have to reload } } #ifdef WIN32