aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/linuxmoto
diff options
context:
space:
mode:
authorMax Horn2009-11-09 23:58:12 +0000
committerMax Horn2009-11-09 23:58:12 +0000
commit1f37da26263d137397f8787500d771dca0d460fe (patch)
treee53817c7d7a7e7e8692c847ecd9681544b2abe6c /backends/platform/linuxmoto
parentd6d2c5d7b83027c21f8e00d364c925ca5f45c392 (diff)
downloadscummvm-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/linuxmoto')
-rw-r--r--backends/platform/linuxmoto/linuxmoto-events.cpp2
-rw-r--r--backends/platform/linuxmoto/linuxmoto-sdl.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/linuxmoto/linuxmoto-events.cpp b/backends/platform/linuxmoto/linuxmoto-events.cpp
index f11bd8a636..50daa12d5b 100644
--- a/backends/platform/linuxmoto/linuxmoto-events.cpp
+++ b/backends/platform/linuxmoto/linuxmoto-events.cpp
@@ -65,7 +65,7 @@ void OSystem_LINUXMOTO::fillMouseEvent(Common::Event &event, int x, int y) {
}
}
-bool OSystem_LINUXMOTO::remapKey(const SDL_Event &ev, Common::Event &event) {
+bool OSystem_LINUXMOTO::remapKey(SDL_Event &ev, Common::Event &event) {
// Motorol A1200/E6/A1600 remapkey by Lubomyr
#ifdef MOTOEZX
// Quit on MOD+Camera Key on A1200
diff --git a/backends/platform/linuxmoto/linuxmoto-sdl.h b/backends/platform/linuxmoto/linuxmoto-sdl.h
index 9d4fe28d2e..57d1dc8972 100644
--- a/backends/platform/linuxmoto/linuxmoto-sdl.h
+++ b/backends/platform/linuxmoto/linuxmoto-sdl.h
@@ -50,7 +50,7 @@ public:
void hideOverlay();
/* Event Stuff */
- virtual bool remapKey(const SDL_Event &ev, Common::Event &event);
+ virtual bool remapKey(SDL_Event &ev, Common::Event &event);
virtual void preprocessEvents(SDL_Event *event);
virtual void setupMixer();
virtual Common::HardwareKeySet *getHardwareKeySet();