aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl
diff options
context:
space:
mode:
authorEugene Sandulenko2005-05-14 22:56:41 +0000
committerEugene Sandulenko2005-05-14 22:56:41 +0000
commit3588b96d4fc6c1100a01f21987f34dab9c0e97bf (patch)
tree8bbeeacc9f3fce01838de5129703ffb11b83d44a /backends/sdl
parent0bb3024467c8eb1f74f716848366b9b8fdf6a8c5 (diff)
downloadscummvm-rg350-3588b96d4fc6c1100a01f21987f34dab9c0e97bf.tar.gz
scummvm-rg350-3588b96d4fc6c1100a01f21987f34dab9c0e97bf.tar.bz2
scummvm-rg350-3588b96d4fc6c1100a01f21987f34dab9c0e97bf.zip
Added --disable-hq and --disable-scumm-7-8 options. Also improved
DISABLE_HE so more HE-specific code gets excluded. svn-id: r18099
Diffstat (limited to 'backends/sdl')
-rw-r--r--backends/sdl/graphics.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/sdl/graphics.cpp b/backends/sdl/graphics.cpp
index 43e1a7cd4d..fc5db722b4 100644
--- a/backends/sdl/graphics.cpp
+++ b/backends/sdl/graphics.cpp
@@ -36,8 +36,10 @@ static const OSystem::GraphicsMode s_supportedGraphicsModes[] = {
{"supereagle", "SuperEagle", GFX_SUPEREAGLE},
{"advmame2x", "AdvMAME2x", GFX_ADVMAME2X},
{"advmame3x", "AdvMAME3x", GFX_ADVMAME3X},
+#ifndef DISABLE_HQ_SCALERS
{"hq2x", "HQ2x", GFX_HQ2X},
{"hq3x", "HQ3x", GFX_HQ3X},
+#endif
{"tv2x", "TV2x", GFX_TV2X},
{"dotmatrix", "DotMatrix", GFX_DOTMATRIX},
{0, 0, 0}
@@ -161,6 +163,7 @@ bool OSystem_SDL::setGraphicsMode(int mode) {
newScaleFactor = 3;
newScalerProc = AdvMame3x;
break;
+#ifndef DISABLE_HQ_SCALERS
case GFX_HQ2X:
newScaleFactor = 2;
newScalerProc = HQ2x;
@@ -169,6 +172,7 @@ bool OSystem_SDL::setGraphicsMode(int mode) {
newScaleFactor = 3;
newScalerProc = HQ3x;
break;
+#endif
case GFX_TV2X:
newScaleFactor = 2;
newScalerProc = TV2x;