mirror of
https://github.com/holub/mame
synced 2025-06-05 20:33:45 +03:00
Fix m72, sprite drawing routine
This commit is contained in:
parent
86a90d4fda
commit
a720f2068f
@ -435,7 +435,7 @@ void m72_state::majtitle_draw_sprites(bitmap_ind16 &bitmap,const rectangle &clip
|
||||
{
|
||||
u16 *spriteram16_2 = m_spriteram2;
|
||||
|
||||
for (int offs = 0; offs < m_spriteram2.bytes(); offs += 4)
|
||||
for (int offs = 0; offs < m_spriteram2.bytes()/2; offs += 4)
|
||||
{
|
||||
const int code = spriteram16_2[offs+1];
|
||||
const u32 color = spriteram16_2[offs+2] & 0x0f;
|
||||
|
Loading…
Reference in New Issue
Block a user