diff options
author | Torbjörn Andersson | 2003-09-21 17:05:07 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-09-21 17:05:07 +0000 |
commit | 308e88965a4f440498cb302db71088ef0a56edd8 (patch) | |
tree | 8d36116e7484bd28c8a14cca5a56715e694a95f1 /backends/sdl | |
parent | df6028b17af1b04432942fabb81714c404018f10 (diff) | |
download | scummvm-rg350-308e88965a4f440498cb302db71088ef0a56edd8.tar.gz scummvm-rg350-308e88965a4f440498cb302db71088ef0a56edd8.tar.bz2 scummvm-rg350-308e88965a4f440498cb302db71088ef0a56edd8.zip |
Made Ctrl-Alt 9 the hotkey for the new hq3x scaler, and moved the scanlines
and dotmatrix ones to Ctrl-Alt C and Ctrl-Alt-D.
(Does anyone else feel that scanlines and dotmatrix should either be
rewritten so that they can be combined with any scaler and aspect ratio
correction, or removed? That's why I moved them off the Ctrl-Alt <digit>
hotkeys.)
svn-id: r10353
Diffstat (limited to 'backends/sdl')
-rw-r--r-- | backends/sdl/sdl-common.cpp | 2 | ||||
-rw-r--r-- | backends/sdl/sdl.cpp | 2 | ||||
-rw-r--r-- | backends/sdl/sdl_gl.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp index 6bb5bd19c7..7a407ad385 100644 --- a/backends/sdl/sdl-common.cpp +++ b/backends/sdl/sdl-common.cpp @@ -619,7 +619,7 @@ bool OSystem_SDL_Common::poll_event(Event *event) { // Ctr-Alt-<key> will change the GFX mode if (b == (KBD_CTRL|KBD_ALT)) { - char keys[] = "1234567890"; + char keys[] = "123456789cd"; char *ptr; ptr = strchr(keys, ev.key.keysym.sym); diff --git a/backends/sdl/sdl.cpp b/backends/sdl/sdl.cpp index 25e5aec488..83490d95d8 100644 --- a/backends/sdl/sdl.cpp +++ b/backends/sdl/sdl.cpp @@ -365,7 +365,7 @@ uint32 OSystem_SDL::property(int param, Property *value) { #endif return 1; } else if (param == PROP_SET_GFX_MODE) { - if (value->gfx_mode >= 10) + if (value->gfx_mode >= 11) return 0; _mode = value->gfx_mode; diff --git a/backends/sdl/sdl_gl.cpp b/backends/sdl/sdl_gl.cpp index 6c1eaed351..652ecb6a93 100644 --- a/backends/sdl/sdl_gl.cpp +++ b/backends/sdl/sdl_gl.cpp @@ -651,8 +651,8 @@ uint32 OSystem_SDL_OpenGL::property(int param, Property *value) { fb2gl.setBilinearMode(_glBilinearFilter); break; default: // SDL backend - if (value->gfx_mode >= 10) - return 0; + if (value->gfx_mode >= 11) + return 0; _mode = value->gfx_mode; |