diff options
Diffstat (limited to 'src/mame/video/1943.cpp')
-rw-r--r-- | src/mame/video/1943.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/1943.cpp b/src/mame/video/1943.cpp index 1a23037cd9b..0ecc0adc192 100644 --- a/src/mame/video/1943.cpp +++ b/src/mame/video/1943.cpp @@ -284,7 +284,7 @@ void _1943_state::_1943_drawgfx(bitmap_ind16 &dest_bmp,const rectangle &clip,gfx void _1943_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect) { - for (int offs = 0; offs <= m_spriteram.bytes(); offs += 32) + for (int offs = 0; offs < m_spriteram.bytes(); offs += 32) { const u8 attr = m_spriteram[offs + 1]; const u32 code = m_spriteram[offs] + ((attr & 0xe0) << 3); |