diff options
author | Olivier Galibert <galibert@pobox.com> | 2020-11-27 18:14:13 +0100 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2020-11-27 18:14:13 +0100 |
commit | a720f2068fec5afb85f56d3ae20e588ccf356a9d (patch) | |
tree | bd435b042a457c7b0d574a4d030d8a0cc732bc78 /src | |
parent | 86a90d4fda095fa3a41373fbb81d13344fb71e82 (diff) |
Fix m72, sprite drawing routine
Diffstat (limited to 'src')
-rw-r--r-- | src/mame/video/m72.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/m72.cpp b/src/mame/video/m72.cpp index de40a07ec9a..2d1329b67d3 100644 --- a/src/mame/video/m72.cpp +++ b/src/mame/video/m72.cpp @@ -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; |