Fix high-resolution graphic page
This commit is contained in:
@@ -444,10 +444,13 @@ class PetitComputer
|
|||||||
int grpw, grph;
|
int grpw, grph;
|
||||||
graphic.getSize(grpw, grph);
|
graphic.getSize(grpw, grph);
|
||||||
//1024*1024?
|
//1024*1024?
|
||||||
if ((mode == 5 || mode == 6) && (grpw != 1024 || grph != 1024))
|
if (mode == 5 || mode == 6)
|
||||||
|
{
|
||||||
|
if (grpw != 1024 || grph != 1024)
|
||||||
{
|
{
|
||||||
graphic.setSize(1024, 1024);
|
graphic.setSize(1024, 1024);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (grpw != 512 || grph != 512)
|
else if (grpw != 512 || grph != 512)
|
||||||
{
|
{
|
||||||
graphic.setSize(512, 512);
|
graphic.setSize(512, 512);
|
||||||
|
|||||||
Reference in New Issue
Block a user