From c4ea4e36d7669cede31842da4ab5f999c4045dc9 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Thu, 16 Jul 2015 07:29:55 -0700 Subject: [PATCH] Let's use pixel_x[y]res directly. There are many paths where this is actually zero still. --- UI/EmuScreen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/EmuScreen.cpp b/UI/EmuScreen.cpp index d440f57a72..8b2db8bdc0 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 = coreParam.pixelWidth; - coreParam.renderHeight = coreParam.pixelHeight; + coreParam.renderWidth = pixel_xres; + coreParam.renderHeight = pixel_yres; } else { if (g_Config.iInternalResolution < 0) g_Config.iInternalResolution = 1;