diff --git a/src/mame/video/neogeo_spr.cpp b/src/mame/video/neogeo_spr.cpp index 069015f632f..faa70356041 100644 --- a/src/mame/video/neogeo_spr.cpp +++ b/src/mame/video/neogeo_spr.cpp @@ -407,7 +407,7 @@ void neosprite_base_device::draw_sprites(bitmap_rgb32 &bitmap, int scanline) attr_and_code_offs = (sprite_number << 6) | (tile << 1); attr = m_videoram_drawsource[attr_and_code_offs + 1]; - code = ((attr << 12) & 0x70000) | m_videoram_drawsource[attr_and_code_offs]; + code = ((attr << 12) & 0xf0000) | m_videoram_drawsource[attr_and_code_offs]; /* substitute auto animation bits */ if (!m_auto_animation_disabled)