Clamp zoom to 1, thanks to unknown for pointing out this oversight.

May help #4319.
This commit is contained in:
Henrik Rydgard committed 2014-06-24 22:33:58 +02:00
1 parent a1d359f22c
commit 412acc7b5f
1 file changed
+2
+2
View File
@@ -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;