Skip to content

Commit

Permalink
PPGe: Scale down by worst of window/internal res.
Browse files Browse the repository at this point in the history
  • Loading branch information
unknownbrackets committed Jan 23, 2021
1 parent a88f6b4 commit 0b666d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Core/Util/PPGeDraw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 0b666d0

Please sign in to comment.