From 61077d4ffbcd9f67c3b288257321215af60b2f45 Mon Sep 17 00:00:00 2001 From: MooglyGuy Date: Thu, 15 Jul 2021 08:56:28 +0200 Subject: video/namco_c355spr.cpp: Adjusted sprite attribute table index mask to accommodate vshoot. (#8302) [Ryan Holtz] --- src/mame/video/namco_c355spr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/video/namco_c355spr.cpp b/src/mame/video/namco_c355spr.cpp index f5e734952de..417914d9ecf 100644 --- a/src/mame/video/namco_c355spr.cpp +++ b/src/mame/video/namco_c355spr.cpp @@ -356,7 +356,7 @@ void namco_c355spr_device::get_single_sprite(const u16 *pSource, c355_sprite *sp const u16 palette = pSource[6]; sprite_ptr->pri = ((palette >> 4) & 0xf); - const u16 linkno = pSource[0] & 0x3ff; /* LINKNO 0x000..0x3ff for format table entry, verified in finalapr code */ + const u16 linkno = pSource[0] & 0x7ff; /* LINKNO 0x000..0x7ff for format table entries - finalapr code masks with 0x3ff, but vshoot requires 0x7ff */ sprite_ptr->offset = pSource[1]; /* OFFSET */ int hpos = pSource[2]; /* HPOS 0x000..0x7ff (signed) */ int vpos = pSource[3]; /* VPOS 0x000..0x7ff (signed) */ -- cgit v1.2.3