aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/graphics/surfacesdl/surfacesdl-graphics.cpp31
1 files changed, 7 insertions, 24 deletions
diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
index 0e802f6257..de54145d5f 100644
--- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
+++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
@@ -614,42 +614,25 @@ bool SurfaceSdlGraphicsManager::setGraphicsMode(int mode) {
break;
#ifdef USE_SCALERS
case GFX_DOUBLESIZE:
- newScaleFactor = 2;
- break;
- case GFX_TRIPLESIZE:
- newScaleFactor = 3;
- break;
-
case GFX_2XSAI:
- newScaleFactor = 2;
- break;
case GFX_SUPER2XSAI:
- newScaleFactor = 2;
- break;
case GFX_SUPEREAGLE:
- newScaleFactor = 2;
- break;
case GFX_ADVMAME2X:
- newScaleFactor = 2;
- break;
- case GFX_ADVMAME3X:
- newScaleFactor = 3;
- break;
+ case GFX_TV2X:
+ case GFX_DOTMATRIX:
#ifdef USE_HQ_SCALERS
case GFX_HQ2X:
+#endif
newScaleFactor = 2;
break;
+ case GFX_TRIPLESIZE:
+ case GFX_ADVMAME3X:
+#ifdef USE_HQ_SCALERS
case GFX_HQ3X:
+#endif
newScaleFactor = 3;
break;
#endif
- case GFX_TV2X:
- newScaleFactor = 2;
- break;
- case GFX_DOTMATRIX:
- newScaleFactor = 2;
- break;
-#endif // USE_SCALERS
default:
warning("unknown gfx mode %d", mode);