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/sdl | |
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/sdl')
-rw-r--r-- | backends/platform/sdl/events.cpp | 2 | ||||
-rw-r--r-- | backends/platform/sdl/sdl.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/sdl/events.cpp b/backends/platform/sdl/events.cpp index e6c8d716e3..e5d0c1687c 100644 --- a/backends/platform/sdl/events.cpp +++ b/backends/platform/sdl/events.cpp @@ -459,7 +459,7 @@ bool OSystem_SDL::pollEvent(Common::Event &event) { return false; } -bool OSystem_SDL::remapKey(SDL_Event &ev, Common::Event &event) { +bool OSystem_SDL::remapKey(const SDL_Event &ev, Common::Event &event) { #ifdef LINUPY // On Yopy map the End button to quit if ((ev.key.keysym.sym == 293)) { diff --git a/backends/platform/sdl/sdl.h b/backends/platform/sdl/sdl.h index fd9c1f72fd..e76d68766c 100644 --- a/backends/platform/sdl/sdl.h +++ b/backends/platform/sdl/sdl.h @@ -467,7 +467,7 @@ protected: void setupIcon(); void handleKbdMouse(); - virtual bool remapKey(SDL_Event &ev, Common::Event &event); + virtual bool remapKey(const SDL_Event &ev, Common::Event &event); void handleScalerHotkeys(const SDL_KeyboardEvent &key); }; |