summaryrefslogtreecommitdiffstats
path: root/src/mame/video/deco_ace.cpp
diff options
context:
space:
mode:
authorGravatarGravatar cam900 <dbtlrchl@naver.com>2020-02-18 07:23:57 +0900
committerGravatarGravatar GitHub <noreply@github.com>2020-02-17 17:23:57 -0500
commit09e068aaad8d0d6cd9a79fb534a9b403091a59cb (patch) (github)
tree067671581a5c26e8295f52c369a97ec4d0988bc9 /src/mame/video/deco_ace.cpp
parent8b3a65302bcc896047d503b756160233c00fa36e (diff)
downloadmame-09e068aaad8d0d6cd9a79fb534a9b403091a59cb.tar.bz2
mame-09e068aaad8d0d6cd9a79fb534a9b403091a59cb.zip
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
Diffstat (limited to 'src/mame/video/deco_ace.cpp')
-rw-r--r--src/mame/video/deco_ace.cpp6
1 files changed, 4 insertions, 2 deletions
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];
}