diff options
author | Max Horn | 2009-11-09 23:29:33 +0000 |
---|---|---|
committer | Max Horn | 2009-11-09 23:29:33 +0000 |
commit | 9d816caf560bd53c8be6b1f804f97d0a4d658df2 (patch) | |
tree | 4ac1925843ef15286bc69f07f731945db3da2938 /backends/platform/symbian | |
parent | a1496515ce02e3ab39ce076622c639d18577311f (diff) | |
download | scummvm-rg350-9d816caf560bd53c8be6b1f804f97d0a4d658df2.tar.gz scummvm-rg350-9d816caf560bd53c8be6b1f804f97d0a4d658df2.tar.bz2 scummvm-rg350-9d816caf560bd53c8be6b1f804f97d0a4d658df2.zip |
SDL: Make first param of OSystem_SDL::remapKey const
svn-id: r45791
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); |