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/gp2xwiz | |
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/gp2xwiz')
-rw-r--r-- | backends/platform/gp2xwiz/gp2xwiz-events.cpp | 2 | ||||
-rw-r--r-- | backends/platform/gp2xwiz/gp2xwiz-sdl.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/gp2xwiz/gp2xwiz-events.cpp b/backends/platform/gp2xwiz/gp2xwiz-events.cpp index f5341a022e..2774efce1b 100644 --- a/backends/platform/gp2xwiz/gp2xwiz-events.cpp +++ b/backends/platform/gp2xwiz/gp2xwiz-events.cpp @@ -494,6 +494,6 @@ bool OSystem_GP2XWIZ::pollEvent(Common::Event &event) { return false; } -bool OSystem_GP2XWIZ::remapKey(const SDL_Event &ev,Common::Event &event) { +bool OSystem_GP2XWIZ::remapKey(SDL_Event &ev,Common::Event &event) { return false; } diff --git a/backends/platform/gp2xwiz/gp2xwiz-sdl.h b/backends/platform/gp2xwiz/gp2xwiz-sdl.h index ace11d0546..1f67624d5c 100644 --- a/backends/platform/gp2xwiz/gp2xwiz-sdl.h +++ b/backends/platform/gp2xwiz/gp2xwiz-sdl.h @@ -61,7 +61,7 @@ public: void moveStick(); void fillMouseEvent(Common::Event&, int, int); void warpMouse(int, int); - bool remapKey(const SDL_Event&, Common::Event&); + bool remapKey(SDL_Event&, Common::Event&); /* Platform Setup Stuff */ void addSysArchivesToSearchSet(Common::SearchSet &s, int priority); |