Fix xscreen

This commit is contained in:
otya128 committed 2016-12-12 23:03:47 +09:00
1 parent 88a9d4ac97
commit 8e49cf41c9
1 file changed
+3
+3
View File
@@ -477,11 +477,14 @@ class PetitComputer
this.bg[i].display = 0;
this.bg[i].clip;
}
if (currentDisplay.rect.length > 1)
{
for(int i = bgmax; i < this.bg.length; i++)
{
this.bg[i].display = 1;
this.bg[i].clip;
}
}
for (int i = cast(int)currentDisplay.rect.length - 1; i >= 0; i--)
{
display(i);