From 09e068aaad8d0d6cd9a79fb534a9b403091a59cb Mon Sep 17 00:00:00 2001 From: cam900 Date: Tue, 18 Feb 2020 07:23:57 +0900 Subject: boogwing.cpp : Further blending implementation, Typo (#6316) * boogwing.cpp : Further blending implementation, Typo * deco_ace.cpp : Add notes * deco32.cpp : ACE ram is not masked * deco_ace : Minor fix addressing * boogwing.cpp : Add reference * boogwing.cpp : Partially blended tilemap handling --- src/mame/video/deco_ace.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mame/video/deco_ace.cpp') diff --git a/src/mame/video/deco_ace.cpp b/src/mame/video/deco_ace.cpp index b734817a513..2a31c5c05c4 100644 --- a/src/mame/video/deco_ace.cpp +++ b/src/mame/video/deco_ace.cpp @@ -221,7 +221,7 @@ uint8_t deco_ace_device::get_alpha(uint8_t val) int alpha = m_ace_ram[val] & 0xff; if (alpha > 0x20) { - return 0x80; // TODO + return 0x80; // TODO : Special blending command? 0x21, 0x22 confirmed } else { @@ -241,7 +241,9 @@ uint8_t deco_ace_device::get_alpha(uint8_t val) uint16_t deco_ace_device::get_aceram(uint8_t val) { - val &= 0x3f; + if (val >= 0x28) + return 0; + return m_ace_ram[val]; } -- cgit v1.2.3