mirror of
https://github.com/holub/mame
synced 2025-05-25 15:25:33 +03:00
simple fix for uninitialised variable warning, msvc doesn't cope well with spaghetti code.
This commit is contained in:
parent
75f0ff10d1
commit
63e062fd0b
@ -93,7 +93,7 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta
|
|||||||
|
|
||||||
for (offs = 0;offs < 0x200;offs += 4)
|
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)
|
if((spriteram[offs+1] & 1) == 1)
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user