From e063ed19e2e72d1f00f19239164d8c79b6cb7a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Fri, 3 Feb 2012 21:31:09 +0000 Subject: [PATCH] another stv video regression --- src/mame/video/stvvdp2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/video/stvvdp2.c b/src/mame/video/stvvdp2.c index ee0a4bde151..4720c42943d 100644 --- a/src/mame/video/stvvdp2.c +++ b/src/mame/video/stvvdp2.c @@ -6588,7 +6588,7 @@ static void draw_sprites(running_machine &machine, bitmap_rgb32 &bitmap, const r { if ( pix & ~sprite_shadow ) { - bitmap_line[x] = (bitmap_line[x] & ~0x421) >> 1; + bitmap_line[x] = (bitmap_line[x] & ~0x010101) >> 1; } } else @@ -6599,7 +6599,7 @@ static void draw_sprites(running_machine &machine, bitmap_rgb32 &bitmap, const r /*shadow - in reality, we should check from what layer pixel beneath comes...*/ if ( STV_VDP2_SDCTL & 0x3f ) { - bitmap_line[x] = (bitmap_line[x] & ~0x421) >> 1; + bitmap_line[x] = (bitmap_line[x] & ~0x010101) >> 1; } /* note that when shadows are disabled, "shadow" palette entries are not drawn */ } else if ( pix )