mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 17:19:28 +01:00
Clamp zoom to 1, thanks to unknown for pointing out this oversight.
May help #4319.
This commit is contained in:
1 parent
a1d359f22c
commit
412acc7b5f
1 file changed
+2
@@ -212,6 +212,8 @@ namespace MainWindow {
|
||||
int zoom = g_Config.iInternalResolution;
|
||||
if (zoom == 0) // auto mode
|
||||
zoom = (rc.right - rc.left + 479) / 480;
|
||||
if (zoom <= 1)
|
||||
zoom = 1;
|
||||
|
||||
// Actually, auto mode should be more granular...
|
||||
PSP_CoreParameter().renderWidth = 480 * zoom;
|
||||
|
||||
Reference in new issue
Block a user