aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gp2x
diff options
context:
space:
mode:
authorMax Horn2009-11-09 23:29:33 +0000
committerMax Horn2009-11-09 23:29:33 +0000
commit9d816caf560bd53c8be6b1f804f97d0a4d658df2 (patch)
tree4ac1925843ef15286bc69f07f731945db3da2938 /backends/platform/gp2x
parenta1496515ce02e3ab39ce076622c639d18577311f (diff)
downloadscummvm-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/gp2x')
-rw-r--r--backends/platform/gp2x/events.cpp2
-rw-r--r--backends/platform/gp2x/gp2x-common.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/gp2x/events.cpp b/backends/platform/gp2x/events.cpp
index e0117e9313..060150cc78 100644
--- a/backends/platform/gp2x/events.cpp
+++ b/backends/platform/gp2x/events.cpp
@@ -572,7 +572,7 @@ bool OSystem_GP2X::pollEvent(Common::Event &event) {
return false;
}
-bool OSystem_GP2X::remapKey(SDL_Event &ev,Common::Event &event) {
+bool OSystem_GP2X::remapKey(const SDL_Event &ev,Common::Event &event) {
return false;
}
diff --git a/backends/platform/gp2x/gp2x-common.h b/backends/platform/gp2x/gp2x-common.h
index 6878673024..12cf9fddb6 100644
--- a/backends/platform/gp2x/gp2x-common.h
+++ b/backends/platform/gp2x/gp2x-common.h
@@ -410,7 +410,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);