summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mac.cpp')
-rw-r--r--src/mame/drivers/mac.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/mac.cpp b/src/mame/drivers/mac.cpp
index 6ec28b5bad5..b6da93c812d 100644
--- a/src/mame/drivers/mac.cpp
+++ b/src/mame/drivers/mac.cpp
@@ -166,7 +166,7 @@ WRITE32_MEMBER( mac_state::ariel_ramdac_w ) // this is for the "Ariel" style RAM
}
else if (mem_mask == 0x00ff0000)
{
- m_rbv_colors[m_rbv_count++] = data>>16;
+ m_rbv_colors[m_rbv_count++] = (data>>16) & 0xff;
if (m_rbv_count == 3)
{