diff options
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 fcdc22db51..d58aed2346 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(SDL_Event &ev, Common::Event &event) { +bool OSystem_SDL_Symbian::remapKey(const 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 b873b503be..43ed151302 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(SDL_Event &ev, Common::Event &event); + bool remapKey(const SDL_Event &ev, Common::Event &event); void setWindowCaption(const char *caption); |