Fix translucent triangles not being autosorted(?)
This commit is contained in:
parent
b77843b927
commit
0f92189585
|
@ -1633,6 +1633,14 @@ bool UsingAutoSort()
|
|||
{
|
||||
if (((FPU_PARAM_CFG >> 21) & 1) == 0)
|
||||
return ((ISP_FEED_CFG & 1) == 0);
|
||||
else
|
||||
return ((vri(REGION_BASE) >> 29) & 1) == 0;
|
||||
else {
|
||||
// Hack: check several tiles instead of just the first one (Rayman, VR2)
|
||||
for (u32 i = 0; i < 16; i++)
|
||||
{
|
||||
if (((vri(REGION_BASE + i * 24) >> 29) & 1) == 0)
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue