1
0

Fix XSCREEN4 sprite rendering

This commit is contained in:
otya128
2016-12-05 22:59:36 +09:00
parent 195a472f15
commit 965ece4db0

View File

@@ -640,6 +640,8 @@ class Sprite
int dis; int dis;
if(petitcom.xscreenmode == 2) if(petitcom.xscreenmode == 2)
{ {
if (!visibles[0])
return;
disw = 160f; disw = 160f;
disw2 = 320f; disw2 = 320f;
dish = 240f; dish = 240f;
@@ -689,9 +691,9 @@ class Sprite
aspect = disw2 / dish2; aspect = disw2 / dish2;
} }
} }
}
if (!visibles[dis]) if (!visibles[dis])
continue; continue;
}
int x, y; int x, y;
if(sprite.parent) if(sprite.parent)
{ {