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/symbian | |
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/symbian')
-rw-r--r-- | backends/platform/symbian/src/SymbianOS.cpp | 2 | ||||
-rw-r--r-- | backends/platform/symbian/src/SymbianOS.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/symbian/src/SymbianOS.cpp b/backends/platform/symbian/src/SymbianOS.cpp index cf4716c2db..f92813457a 100644 --- a/backends/platform/symbian/src/SymbianOS.cpp +++ b/backends/platform/symbian/src/SymbianOS.cpp @@ -318,7 +318,7 @@ void OSystem_SDL_Symbian::symbianMixCallback(void *sys, byte *samples, int len) * @param ScumVM event to modify if special result is requested * @return true if Common::Event has a valid return status */ -bool OSystem_SDL_Symbian::remapKey(const SDL_Event &ev, Common::Event &event) { +bool OSystem_SDL_Symbian::remapKey(SDL_Event &ev, Common::Event &event) { if (GUI::Actions::Instance()->mappingActive() || ev.key.keysym.sym <= SDLK_UNKNOWN) return false; diff --git a/backends/platform/symbian/src/SymbianOS.h b/backends/platform/symbian/src/SymbianOS.h index 43ed151302..b873b503be 100644 --- a/backends/platform/symbian/src/SymbianOS.h +++ b/backends/platform/symbian/src/SymbianOS.h @@ -103,7 +103,7 @@ protected: // @param ScumVM event to modify if special result is requested // @return true if Common::Event has a valid return status // - bool remapKey(const SDL_Event &ev, Common::Event &event); + bool remapKey(SDL_Event &ev, Common::Event &event); void setWindowCaption(const char *caption); |