aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/sdl/graphics.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/sdl/graphics.cpp b/backends/sdl/graphics.cpp
index 66b3214ea4..7215f12a81 100644
--- a/backends/sdl/graphics.cpp
+++ b/backends/sdl/graphics.cpp
@@ -297,9 +297,6 @@ void OSystem_SDL::initSize(uint w, uint h, int overlayScale) {
_screenWidth = w;
_screenHeight = h;
- if (h != 200)
- _adjustAspectRatio = false;
-
if (overlayScale != -1) {
_overlayScale = overlayScale;
if (w != 320 && w != 256) // 256 is for MM NES
@@ -339,6 +336,9 @@ void OSystem_SDL::loadGFXMode() {
_forceFull = true;
_modeFlags |= DF_UPDATE_EXPAND_1_PIXEL;
+ if (_screenHeight != 200)
+ _adjustAspectRatio = false;
+
//
// Create the surface that contains the 8 bit game data
//