diff options
author | Max Horn | 2003-05-09 22:44:16 +0000 |
---|---|---|
committer | Max Horn | 2003-05-09 22:44:16 +0000 |
commit | 37724d929721836821065b2a177ae2f298bd1ed5 (patch) | |
tree | 50ddae26d30216a6230062335129d0d40ef5ed16 /backends/sdl/sdl.cpp | |
parent | 54a9ad3204140aba204474d186058db627b2584d (diff) | |
download | scummvm-rg350-37724d929721836821065b2a177ae2f298bd1ed5.tar.gz scummvm-rg350-37724d929721836821065b2a177ae2f298bd1ed5.tar.bz2 scummvm-rg350-37724d929721836821065b2a177ae2f298bd1ed5.zip |
Patch #735294: AdvMame3x scaler
svn-id: r7409
Diffstat (limited to 'backends/sdl/sdl.cpp')
-rw-r--r-- | backends/sdl/sdl.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/backends/sdl/sdl.cpp b/backends/sdl/sdl.cpp index 3c977e20b9..13cf5fe087 100644 --- a/backends/sdl/sdl.cpp +++ b/backends/sdl/sdl.cpp @@ -99,6 +99,10 @@ void OSystem_SDL::load_gfx_mode() { _scaleFactor = 2; _scaler_proc = AdvMame2x; break; + case GFX_ADVMAME3X: + _scaleFactor = 3; + _scaler_proc = AdvMame3x; + break; case GFX_TV2X: _scaleFactor = 2; _scaler_proc = TV2x; @@ -360,7 +364,7 @@ uint32 OSystem_SDL::property(int param, Property *value) { #endif return 1; } else if (param == PROP_SET_GFX_MODE) { - if (value->gfx_mode >= 9) + if (value->gfx_mode >= 10) return 0; _mode = value->gfx_mode; |