mirror of https://github.com/PCSX2/pcsx2.git
IPU: Fix SETTH threshold masks
Bits 8:0 for transparency, and 24:16 for translucency.
This commit is contained in:
parent
178354099d
commit
7dd4fd16fd
|
@ -659,9 +659,9 @@ static __ri bool ipuPACK(tIPU_CMD_CSC csc)
|
||||||
|
|
||||||
static void ipuSETTH(u32 val)
|
static void ipuSETTH(u32 val)
|
||||||
{
|
{
|
||||||
s_thresh[0] = (val & 0xff);
|
s_thresh[0] = (val & 0x1ff);
|
||||||
s_thresh[1] = ((val >> 16) & 0xff);
|
s_thresh[1] = ((val >> 16) & 0x1ff);
|
||||||
IPU_LOG("SETTH (Set threshold value)command %x.", val&0xff00ff);
|
IPU_LOG("SETTH (Set threshold value)command %x.", val&0x1ff01ff);
|
||||||
}
|
}
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue