diff options
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; |