aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gp2x
diff options
context:
space:
mode:
authorJohannes Schickel2009-07-25 14:09:58 +0000
committerJohannes Schickel2009-07-25 14:09:58 +0000
commitf8e050fbc22b337a1854f1ee6c8f168dc925568c (patch)
tree707f2f7208426e69fe4731b3361d18ef951d8724 /backends/platform/gp2x
parent0927bec0158918437fa0db5d9a07508b2c2b1369 (diff)
downloadscummvm-rg350-f8e050fbc22b337a1854f1ee6c8f168dc925568c.tar.gz
scummvm-rg350-f8e050fbc22b337a1854f1ee6c8f168dc925568c.tar.bz2
scummvm-rg350-f8e050fbc22b337a1854f1ee6c8f168dc925568c.zip
Yet another fix for the GP2x backend.
svn-id: r42761
Diffstat (limited to 'backends/platform/gp2x')
-rw-r--r--backends/platform/gp2x/gp2x.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/platform/gp2x/gp2x.cpp b/backends/platform/gp2x/gp2x.cpp
index 15b5e19e5d..553385807a 100644
--- a/backends/platform/gp2x/gp2x.cpp
+++ b/backends/platform/gp2x/gp2x.cpp
@@ -34,6 +34,7 @@
#include "common/archive.h"
#include "common/config-manager.h"
#include "common/debug.h"
+#include "common/EventRecorder.h"
#include "common/events.h"
#include "common/util.h"
@@ -318,7 +319,7 @@ OSystem_GP2X::~OSystem_GP2X() {
uint32 OSystem_GP2X::getMillis() {
uint32 millis = SDL_GetTicks();
- getEventManager()->processMillis(millis);
+ g_eventRec.processMillis(millis);
return millis;
}