mirror of
https://github.com/holub/mame
synced 2025-04-25 17:56:43 +03:00
decmxc06.cpp : Fix disappearing
This commit is contained in:
parent
e43c9e3d4b
commit
f6375f5065
@ -75,7 +75,7 @@ void deco_mxc06_device::draw_sprites(screen_device &screen, bitmap_ind16 &bitmap
|
||||
int flipx = data0 & 0x2000;
|
||||
parentFlipY = flipy = data0 & 0x4000;
|
||||
const int h = (1 << ((data0 & 0x1800) >> 11)); /* 1x, 2x, 4x, 8x height */
|
||||
const int w = (1 << ((data0 & 0x0600) >> 9)); /* 1x, 2x, 4x, 8x width */
|
||||
int w = (1 << ((data0 & 0x0600) >> 9)); /* 1x, 2x, 4x, 8x width */
|
||||
|
||||
int sx = data2 & 0x01ff;
|
||||
int sy = data0 & 0x01ff;
|
||||
@ -145,10 +145,13 @@ void deco_mxc06_device::draw_sprites(screen_device &screen, bitmap_ind16 &bitmap
|
||||
}
|
||||
}
|
||||
chainoffs += 4;
|
||||
}
|
||||
while (w)
|
||||
{
|
||||
w--;
|
||||
offs += inc;
|
||||
if (offs == end)
|
||||
return;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user