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
+6 -3
+6 -3
View File
@@ -477,10 +477,13 @@ class PetitComputer
this.bg[i].display = 0; this.bg[i].display = 0;
this.bg[i].clip; this.bg[i].clip;
} }
for(int i = bgmax; i < this.bg.length; i++) if (currentDisplay.rect.length > 1)
{ {
this.bg[i].display = 1; for(int i = bgmax; i < this.bg.length; i++)
this.bg[i].clip; {
this.bg[i].display = 1;
this.bg[i].clip;
}
} }
for (int i = cast(int)currentDisplay.rect.length - 1; i >= 0; i--) for (int i = cast(int)currentDisplay.rect.length - 1; i >= 0; i--)
{ {