From cb75fa85fb439c6d5bdea6aac97f18bd2314002d Mon Sep 17 00:00:00 2001 From: zeromus Date: Sun, 28 Jun 2009 01:55:23 +0000 Subject: [PATCH] reset frame counter when resetting rom --- desmume/src/NDSSystem.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desmume/src/NDSSystem.cpp b/desmume/src/NDSSystem.cpp index e22971ed1..dec244b00 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -882,6 +882,8 @@ void NDS_Reset() if(movieMode != MOVIEMODE_INACTIVE && !_HACK_DONT_STOPMOVIE) movie_reset_command = true; + if(movieMode == MOVIEMODE_INACTIVE) currFrameCounter = 0; + MMU_clearMem(); MMU_new.backupDevice.reset();