Windows: Hook up the UI scale setting. Need a manual resize to update.

This commit is contained in:
Henrik Rydgård
2025-02-20 16:31:01 -06:00
parent 6f1358755c
commit 852018e899
6 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -298,7 +298,7 @@ namespace MainWindow
DEBUG_LOG(Log::System, "Pixel width/height: %dx%d", PSP_CoreParameter().pixelWidth, PSP_CoreParameter().pixelHeight);
if (Native_UpdateScreenScale(width, height, 1.0f)) {
if (Native_UpdateScreenScale(width, height, UIScaleFactorToMultiplier(g_Config.iUIScaleFactor))) {
System_PostUIMessage(UIMessage::GPU_DISPLAY_RESIZED);
System_PostUIMessage(UIMessage::GPU_RENDER_RESIZED);
}