diff options
author | smf- <smf-@users.noreply.github.com> | 2009-03-07 09:24:38 +0000 |
---|---|---|
committer | smf- <smf-@users.noreply.github.com> | 2009-03-07 09:24:38 +0000 |
commit | 63e062fd0b958699d6c41fd2cf7aeeb4014ea69c (patch) | |
tree | 5abb54708b29b3af75732984ff6f42ebb9efae51 /src/mame/drivers/cntsteer.c | |
parent | 75f0ff10d115ba6634dd6fa51f2bd1ba84fd6b84 (diff) |
simple fix for uninitialised variable warning, msvc doesn't cope well with spaghetti code.
Diffstat (limited to 'src/mame/drivers/cntsteer.c')
-rw-r--r-- | src/mame/drivers/cntsteer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/cntsteer.c b/src/mame/drivers/cntsteer.c index 23016358e18..a29ae3d85bc 100644 --- a/src/mame/drivers/cntsteer.c +++ b/src/mame/drivers/cntsteer.c @@ -93,7 +93,7 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta for (offs = 0;offs < 0x200;offs += 4) { - int multi,fx,fy,sx,sy,sy2,code,code2,color; + int multi,fx,fy,sx,sy,sy2=0,code,code2,color; if((spriteram[offs+1] & 1) == 1) continue; |