mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-12 17:20:07 +01:00
IPU: Fix SETTH threshold masks
Bits 8:0 for transparency, and 24:16 for translucency.
This commit is contained in:
1 parent
178354099d
commit
7dd4fd16fd
1 file changed
+3
-3
+3
-3
@@ -659,9 +659,9 @@ static __ri bool ipuPACK(tIPU_CMD_CSC csc)
|
||||
|
||||
static void ipuSETTH(u32 val)
|
||||
{
|
||||
s_thresh[0] = (val & 0xff);
|
||||
s_thresh[1] = ((val >> 16) & 0xff);
|
||||
IPU_LOG("SETTH (Set threshold value)command %x.", val&0xff00ff);
|
||||
s_thresh[0] = (val & 0x1ff);
|
||||
s_thresh[1] = ((val >> 16) & 0x1ff);
|
||||
IPU_LOG("SETTH (Set threshold value)command %x.", val&0x1ff01ff);
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user