From c033162abbc622a833a49e3009cf9069eaf95ef5 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Wed, 15 Jul 2015 21:31:34 -0700 Subject: [PATCH] Use pixelWidth/pixelHeight for Auto (1:1) res. By definition, it ought to be 1 PSP pixel for each host pixel. The old way was accounting for dpi (thanks xperia64.) --- UI/EmuScreen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/EmuScreen.cpp b/UI/EmuScreen.cpp index 75820911c1..d440f57a72 100644 --- a/UI/EmuScreen.cpp +++ b/UI/EmuScreen.cpp @@ -113,8 +113,8 @@ void EmuScreen::bootGame(const std::string &filename) { const Bounds &bounds = screenManager()->getUIContext()->GetBounds(); if (g_Config.iInternalResolution == 0) { - coreParam.renderWidth = bounds.w; - coreParam.renderHeight = bounds.h; + coreParam.renderWidth = coreParam.pixelWidth; + coreParam.renderHeight = coreParam.pixelHeight; } else { if (g_Config.iInternalResolution < 0) g_Config.iInternalResolution = 1;