From 64b8ef4793ed06f8681e253a10790e3e82093b47 Mon Sep 17 00:00:00 2001 From: punkrockguy318 Date: Tue, 16 Nov 2010 19:21:23 +0000 Subject: [PATCH] fixed a compile error on non-win32 based systems --- src/movie.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/movie.cpp b/src/movie.cpp index 5d3ce324..60543cd4 100644 --- a/src/movie.cpp +++ b/src/movie.cpp @@ -1100,7 +1100,7 @@ void FCEUMOV_AddInputState() //or something like that //(input recording is just like standard read+write movie recording with input taken from gamepad) //otherwise, it will come from the tasedit data. - + #ifdef _WIN32 if(movieMode == MOVIEMODE_TASEDIT) { MovieRecord* mr = &currMovieData.records[currFrameCounter]; @@ -1117,14 +1117,17 @@ void FCEUMOV_AddInputState() { if (currMovieData.greenZoneCount>currFrameCounter+1) { + InvalidateGreenZone(currFrameCounter); + } joyports[0].log(mr); joyports[1].log(mr); mr->commands = 0; } } - else if(movieMode == MOVIEMODE_PLAY) + #endif + if(movieMode == MOVIEMODE_PLAY) { //stop when we run out of frames if(currFrameCounter >= (int)currMovieData.records.size())