mirror of https://github.com/mgba-emu/mgba.git
SDL: Make sure scaling ratio is at least 1
This commit is contained in:
parent
1af7b56349
commit
ae3acd658b
|
@ -76,6 +76,9 @@ int main(int argc, char** argv) {
|
|||
renderer.events.windowUpdated = 0;
|
||||
#endif
|
||||
renderer.ratio = graphicsOpts.multiplier;
|
||||
if (renderer.ratio == 0) {
|
||||
renderer.ratio = 1;
|
||||
}
|
||||
|
||||
renderer.lockAspectRatio = opts.lockAspectRatio;
|
||||
renderer.filter = opts.resampleVideo;
|
||||
|
|
Loading…
Reference in New Issue