diff options
-rw-r--r-- | backends/graphics/opengl/opengl-graphics.cpp | 4 | ||||
-rw-r--r-- | backends/graphics/opengl/opengl-graphics.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp index 206823adb0..6963c4c1db 100644 --- a/backends/graphics/opengl/opengl-graphics.cpp +++ b/backends/graphics/opengl/opengl-graphics.cpp @@ -1179,7 +1179,11 @@ void OpenGLGraphicsManager::setAspectRatioCorrection(int ratio) { if (_transactionMode == kTransactionActive) { if (ratio == -1) // If -1, switch to next mode +#ifdef USE_ALL_ASR _videoMode.aspectRatioCorrection = (_videoMode.aspectRatioCorrection + 1) % 5; +#else + _videoMode.aspectRatioCorrection = (_videoMode.aspectRatioCorrection + 1) % 3; +#endif else _videoMode.aspectRatioCorrection = ratio; _transactionDetails.needHotswap = true; diff --git a/backends/graphics/opengl/opengl-graphics.h b/backends/graphics/opengl/opengl-graphics.h index 02930a4756..9672252deb 100644 --- a/backends/graphics/opengl/opengl-graphics.h +++ b/backends/graphics/opengl/opengl-graphics.h @@ -33,6 +33,9 @@ // Uncomment this to enable the 'on screen display' code. #define USE_OSD 1 +// Uncomment this to enable all aspect ratio corrections (Will include 16/9 and 16/10) +//#define USE_ALL_ASR 1 + namespace OpenGL { // The OpenGL GFX modes. They have to be inside the OpenGL namespace so they // do not clash with the SDL GFX modes. |