diff options
author | Max Horn | 2009-11-09 23:58:12 +0000 |
---|---|---|
committer | Max Horn | 2009-11-09 23:58:12 +0000 |
commit | 1f37da26263d137397f8787500d771dca0d460fe (patch) | |
tree | e53817c7d7a7e7e8692c847ecd9681544b2abe6c /backends/platform/gp2x | |
parent | d6d2c5d7b83027c21f8e00d364c925ca5f45c392 (diff) | |
download | scummvm-rg350-1f37da26263d137397f8787500d771dca0d460fe.tar.gz scummvm-rg350-1f37da26263d137397f8787500d771dca0d460fe.tar.bz2 scummvm-rg350-1f37da26263d137397f8787500d771dca0d460fe.zip |
Revert rev 45791 and make the first param of OSystem_SDL::remapKey again non-const (as it may have to be modified for remapping. Of course. Silly me :/)
svn-id: r45796
Diffstat (limited to 'backends/platform/gp2x')
-rw-r--r-- | backends/platform/gp2x/events.cpp | 2 | ||||
-rw-r--r-- | backends/platform/gp2x/gp2x-common.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/gp2x/events.cpp b/backends/platform/gp2x/events.cpp index 060150cc78..e0117e9313 100644 --- a/backends/platform/gp2x/events.cpp +++ b/backends/platform/gp2x/events.cpp @@ -572,7 +572,7 @@ bool OSystem_GP2X::pollEvent(Common::Event &event) { return false; } -bool OSystem_GP2X::remapKey(const SDL_Event &ev,Common::Event &event) { +bool OSystem_GP2X::remapKey(SDL_Event &ev,Common::Event &event) { return false; } diff --git a/backends/platform/gp2x/gp2x-common.h b/backends/platform/gp2x/gp2x-common.h index 12cf9fddb6..6878673024 100644 --- a/backends/platform/gp2x/gp2x-common.h +++ b/backends/platform/gp2x/gp2x-common.h @@ -410,7 +410,7 @@ protected: void setupIcon(); void handleKbdMouse(); - virtual bool remapKey(const SDL_Event &ev, Common::Event &event); + virtual bool remapKey(SDL_Event &ev, Common::Event &event); void handleScalerHotkeys(const SDL_KeyboardEvent &key); |