From 308e88965a4f440498cb302db71088ef0a56edd8 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 21 Sep 2003 17:05:07 +0000 Subject: 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 hotkeys.) svn-id: r10353 --- backends/sdl/sdl-common.cpp | 2 +- backends/sdl/sdl.cpp | 2 +- backends/sdl/sdl_gl.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'backends/sdl') 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- 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; -- cgit v1.2.3