Another stupid warning fix

This commit is contained in:
jeblanchard 2008-06-06 01:42:47 +00:00
parent 5c83c20513
commit c1b20f3050
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,7 @@ void SetAutoFireOffset(int offset)
void AutoFire(void) void AutoFire(void)
{ {
static int counter = 0; 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 //If recording a movie, use the frame # for the autofire so the offset
//doesn't get screwed up when loading. //doesn't get screwed up when loading.
if(FCEUMOV_Mode(MOVIEMODE_RECORD | MOVIEMODE_PLAY)) if(FCEUMOV_Mode(MOVIEMODE_RECORD | MOVIEMODE_PLAY))