aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Brown2002-05-02 15:01:38 +0000
committerJames Brown2002-05-02 15:01:38 +0000
commit1259c765fbb526141969f7c7af9ed58df8de34f5 (patch)
tree434236781236e26c4890d1bc3befa4de8a20546f
parent31fa7f6172422a3a838e3f16336edb06429f8fc5 (diff)
downloadscummvm-rg350-1259c765fbb526141969f7c7af9ed58df8de34f5.tar.gz
scummvm-rg350-1259c765fbb526141969f7c7af9ed58df8de34f5.tar.bz2
scummvm-rg350-1259c765fbb526141969f7c7af9ed58df8de34f5.zip
Add hotkey for advmame2x
svn-id: r4173
-rw-r--r--sdl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdl.cpp b/sdl.cpp
index ed188310e9..1b1d32b357 100644
--- a/sdl.cpp
+++ b/sdl.cpp
@@ -765,7 +765,7 @@ bool OSystem_SDL::poll_event(Event *event) {
}
if (b == (KBD_CTRL|KBD_ALT) &&
- ev.key.keysym.sym>='1' && ev.key.keysym.sym<='6') {
+ ev.key.keysym.sym>='1' && ev.key.keysym.sym<='7') {
property(PROP_SET_GFX_MODE, ev.key.keysym.sym - '1');
break;
}
@@ -936,7 +936,7 @@ uint32 OSystem_SDL::property(int param, uint32 value) {
break;
case PROP_SET_GFX_MODE:
- if (value >= 6)
+ if (value >= 7)
return 0;
_mode = value;