summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Philip Bennett <p.j.bennett@gmail.com>2018-12-24 06:23:17 -0800
committer Vas Crabb <vas@vastheman.com>2018-12-25 01:36:37 +1100
commit764935759edad0e46ea9e48854cef750ddfbd8c0 (patch)
tree683cd18220d95419f9c82df226f56b19ab05679c
parent0bd980b12a37aa0574ec4e71ff6779d0117bd4cc (diff)
3dom2_te - Fix constant color register channel extraction (nw)
-rw-r--r--src/mame/video/3dom2_te.cpp4
1 files 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;
}