From a24c85ba6e0b4dedc5d03e3971e15183fae34919 Mon Sep 17 00:00:00 2001 From: zeromus Date: Mon, 26 May 2008 22:06:46 +0000 Subject: [PATCH] xxx --- src/movie.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/movie.cpp b/src/movie.cpp index aac8271b..759bc2e1 100644 --- a/src/movie.cpp +++ b/src/movie.cpp @@ -588,12 +588,15 @@ void FCEUMOV_AddJoy(uint8 *js, int SkipFlush) //stop when we run out of frames if(currFrameCounter == currMovieData.records.size()) { - StopPlayback(); + if(FCEUD_PauseAfterPlayback()) { FCEUI_ToggleEmulationPause(); FCEU_DispMessage("Paused after playback"); - } + } + else + StopPlayback(); + } } else {