From 52f1aa91299aae1b80ef0b284f4e8fc06be9c8bf Mon Sep 17 00:00:00 2001 From: bgk Date: Tue, 30 Apr 2013 17:44:36 +0000 Subject: [PATCH] GB: Fix a GCC warning git-svn-id: https://svn.code.sf.net/p/vbam/code/branches/bgk-link@1196 a31d4220-a93d-0410-bf67-fe4944624d44 --- src/gb/GB.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gb/GB.cpp b/src/gb/GB.cpp index 67cb1615..e8c301a1 100644 --- a/src/gb/GB.cpp +++ b/src/gb/GB.cpp @@ -4827,11 +4827,13 @@ void gbEmulate(int ticksToStop) wx = 0; if((wx <= 159) && (tempgbWindowLine <= 143)) + { for (int i = wx; i<300; i++) if (gbSpeed) gbSpritesTicks[i]+=3; else gbSpritesTicks[i]+=1; + } } } }