Let's use pixel_x[y]res directly.

There are many paths where this is actually zero still.
This commit is contained in:
Unknown W. Brackets 2015-07-16 07:29:55 -07:00
parent 042da34361
commit c4ea4e36d7

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 = coreParam.pixelWidth;
coreParam.renderHeight = coreParam.pixelHeight;
coreParam.renderWidth = pixel_xres;
coreParam.renderHeight = pixel_yres;
} else {
if (g_Config.iInternalResolution < 0)
g_Config.iInternalResolution = 1;