From c1b20f3050154ed1026e82e8bd2d8784f6d3d485 Mon Sep 17 00:00:00 2001 From: jeblanchard Date: Fri, 6 Jun 2008 01:42:47 +0000 Subject: [PATCH] Another stupid warning fix --- src/fceu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fceu.cpp b/src/fceu.cpp index f81af645..2c71e5d4 100644 --- a/src/fceu.cpp +++ b/src/fceu.cpp @@ -471,7 +471,7 @@ void SetAutoFireOffset(int offset) void AutoFire(void) { static int counter = 0; - counter = (++counter) % (8*7*5*3); + counter = (counter + 1) % (8*7*5*3); //If recording a movie, use the frame # for the autofire so the offset //doesn't get screwed up when loading. if(FCEUMOV_Mode(MOVIEMODE_RECORD | MOVIEMODE_PLAY))