Merge pull request #7865 from unknownbrackets/ui-tweaks

Use pixelWidth/pixelHeight for Auto (1:1) res
This commit is contained in:
Henrik Rydgård 2015-07-16 09:46:44 +02:00
commit 042da34361

View File

@ -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;