1
0

Fix high-resolution graphic page

This commit is contained in:
otya128
2016-12-11 19:31:16 +09:00
parent 9833ae6259
commit 56b21e82fe

View File

@@ -444,9 +444,12 @@ class PetitComputer
int grpw, grph;
graphic.getSize(grpw, grph);
//1024*1024?
if ((mode == 5 || mode == 6) && (grpw != 1024 || grph != 1024))
if (mode == 5 || mode == 6)
{
graphic.setSize(1024, 1024);
if (grpw != 1024 || grph != 1024)
{
graphic.setSize(1024, 1024);
}
}
else if (grpw != 512 || grph != 512)
{