From e7bf6f1d1693cd8dcbd37fa66d87cb7cd6319c1f Mon Sep 17 00:00:00 2001 From: zeromus Date: Fri, 27 Jun 2008 04:02:16 +0000 Subject: [PATCH] debug prints for rerecord count --- src/movie.cpp | 1 + src/state.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/movie.cpp b/src/movie.cpp index 01f03e2e..9c19aeeb 100644 --- a/src/movie.cpp +++ b/src/movie.cpp @@ -925,6 +925,7 @@ bool FCEUMOV_ReadState(std::istream* is, uint32 size) tempMovieData.truncateAt(currFrameCounter); currMovieData = tempMovieData; currMovieData.rerecordCount++; + FCEU_DispMessage("State loaded. Rerecord count: %d\n",currMovieData.rerecordCount); openRecordingMovie(curMovieFilename); currMovieData.dump(osRecordingMovie, false); diff --git a/src/state.cpp b/src/state.cpp index ec524dc6..ca3c1847 100644 --- a/src/state.cpp +++ b/src/state.cpp @@ -546,7 +546,7 @@ bool FCEUSS_Load(char *fname) //This looks redudant to me... but why bother deleting it:) SaveStateStatus[CurrentState]=1; - FCEU_DispMessage("State %d loaded.",CurrentState); + //FCEU_DispMessage("State %d loaded.",CurrentState); SaveStateStatus[CurrentState]=1; } delete st;