diff options
Diffstat (limited to 'source/gfx.c')
-rw-r--r-- | source/gfx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gfx.c b/source/gfx.c index 85b58f3..5eac5b9 100644 --- a/source/gfx.c +++ b/source/gfx.c @@ -423,7 +423,7 @@ void S9xStartScreenRefresh(void) GFX.Delta = (GFX.SubScreen - GFX.Screen) >> 1; } - if (++IPPU.FrameCount % Memory.ROMFramesPerSecond == 0) + if (++IPPU.FrameCount == (uint32_t)Memory.ROMFramesPerSecond) IPPU.FrameCount = 0; } |