mirror of https://github.com/mgba-emu/mgba.git
Switch: Pixel-accurate should default to aspect-full if it exceeds screen dimensions
This commit is contained in:
parent
89c37820c6
commit
67c3f386a4
|
@ -313,7 +313,10 @@ static void _drawTex(struct mGUIRunner* runner, unsigned width, unsigned height,
|
||||||
} else {
|
} else {
|
||||||
max = floor(1.0 / aspectY);
|
max = floor(1.0 / aspectY);
|
||||||
}
|
}
|
||||||
break;
|
if (max >= 1.0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
// Fall through
|
||||||
case SM_AF:
|
case SM_AF:
|
||||||
if (aspectX > aspectY) {
|
if (aspectX > aspectY) {
|
||||||
max = 1.0 / aspectX;
|
max = 1.0 / aspectX;
|
||||||
|
|
Loading…
Reference in New Issue