From 0b666d0dacfa5e8accf0de37d8d701df8d2e43b1 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 23 Jan 2021 09:04:58 -0800 Subject: [PATCH] PPGe: Scale down by worst of window/internal res. See #13958. --- Core/Util/PPGeDraw.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/Util/PPGeDraw.cpp b/Core/Util/PPGeDraw.cpp index 9a1eeaed81..e6eb5c9e11 100644 --- a/Core/Util/PPGeDraw.cpp +++ b/Core/Util/PPGeDraw.cpp @@ -957,6 +957,7 @@ void PPGeDrawTextWrapped(const char *text, float x, float y, float wrapWidth, fl } int zoom = (PSP_CoreParameter().pixelHeight + 479) / 480; + zoom = std::min(zoom, PSP_CoreParameter().renderScaleFactor); float maxScaleDown = zoom == 1 ? 1.3f : 2.0f; if (HasTextDrawer()) {