mirror of
https://github.com/holub/mame
synced 2025-07-06 02:18:09 +03:00
3dom2_te - Fix constant color register channel extraction (nw)
This commit is contained in:
parent
bc6e3672d1
commit
e2e76d4779
@ -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;
|
uint32_t cnst = ssbt ? m_tm.tex_srcconst3 : m_tm.tex_srcconst2;
|
||||||
|
|
||||||
ar = (cnst >> 24) & 0xff;
|
ar = (cnst >> 16) & 0xff;
|
||||||
ag = (cnst >> 16) & 0xff;
|
ag = (cnst >> 8) & 0xff;
|
||||||
ab = (cnst >> 0) & 0xff;
|
ab = (cnst >> 0) & 0xff;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user