From 76e53a83dd3477a42b28ff5eb2a9ce318aebc554 Mon Sep 17 00:00:00 2001 From: TheHpman Date: Sun, 11 Jun 2017 18:32:43 +0200 Subject: [PATCH] Update neogeo_spr.cpp Tile code is 20bits, stop masking MSB. --- src/mame/video/neogeo_spr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)