summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author cam900 <dbtlrchl@naver.com>2020-02-19 01:51:24 +0900
committer GitHub <noreply@github.com>2020-02-19 01:51:24 +0900
commit38bce6f9fe77953f37205b9b05f57a34002828b5 (patch)
treecd7c9669a2e6777f71bab6e3203aedadb7b54179
parent32e753c1e888b2010c54cc0440d1948efc025290 (diff)
boogwing.cpp : Fix museum stage windows
Window frames are must be solid pixel, NOT blended
-rw-r--r--src/mame/video/boogwing.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mame/video/boogwing.cpp b/src/mame/video/boogwing.cpp
index 0072208c843..2d530966392 100644
--- a/src/mame/video/boogwing.cpp
+++ b/src/mame/video/boogwing.cpp
@@ -111,7 +111,7 @@ void boogwing_state::mix_boogwing(screen_device &screen, bitmap_rgb32 &bitmap, c
if (pix2 & 0x100)
{
if (pix2 & 0x800) // Use LUT, ex : Explosions
- alpha2 = (pix2 & 8) ? 0xff : m_deco_ace->get_alpha(0x14 + (pix2 & 0x7)); // TODO : -1?
+ alpha2 = (pix2 & 8) ? 0xff : m_deco_ace->get_alpha(0x14 + ((pix2 - 1) & 0x7));
else
alpha2 = m_deco_ace->get_alpha(0x10 + ((pix2 & 0x80) >> 7));
}
@@ -123,10 +123,6 @@ void boogwing_state::mix_boogwing(screen_device &screen, bitmap_rgb32 &bitmap, c
{
case 0x02:
{
- // Additional sprite alpha in this mode
- if (pix2 & 0x400)
- alpha2 = 0x80; // TODO
-
// Sprite vs playfield
if ((pix2 & 0x600) == 0x600)
pri2 = 4;