Fix autosort translucent poly bug (rayman). probably still not right...

This commit is contained in:
Flyinghead 2018-05-13 16:48:09 +02:00
parent b68f0a16a8
commit 688ba5c37d
1 changed files with 2 additions and 2 deletions

View File

@ -1647,8 +1647,8 @@ bool UsingAutoSort()
if (((FPU_PARAM_CFG >> 21) & 1) == 0)
return ((ISP_FEED_CFG & 1) == 0);
else {
// Hack: check several tiles instead of just the first one (Rayman, VR2)
for (u32 i = 0; i < 16; i++)
// Hack: check all the tiles instead of just the first one (Rayman, VR2)
for (u32 i = 0; i < 300; i++)
{
if (((vri(REGION_BASE + i * 24) >> 29) & 1) == 0)
return true;