From 764935759edad0e46ea9e48854cef750ddfbd8c0 Mon Sep 17 00:00:00 2001
From: Philip Bennett
Date: Mon, 24 Dec 2018 06:23:17 -0800
Subject: [PATCH] 3dom2_te - Fix constant color register channel extraction
(nw)
---
src/mame/video/3dom2_te.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mame/video/3dom2_te.cpp b/src/mame/video/3dom2_te.cpp
index 3ff9f895f62..bd95c0fac86 100644
--- a/src/mame/video/3dom2_te.cpp
+++ b/src/mame/video/3dom2_te.cpp
@@ -2342,8 +2342,8 @@ void m2_te_device::select_lerp( uint32_t sel,
{
uint32_t cnst = ssbt ? m_tm.tex_srcconst3 : m_tm.tex_srcconst2;
- ar = (cnst >> 24) & 0xff;
- ag = (cnst >> 16) & 0xff;
+ ar = (cnst >> 16) & 0xff;
+ ag = (cnst >> 8) & 0xff;
ab = (cnst >> 0) & 0xff;
break;
}