aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wince/wince-sdl.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2011-03-09 02:49:22 +0100
committerJohannes Schickel2011-03-09 02:49:22 +0100
commit438f2b2e1bc987080a0dcc500d04f4eb18174763 (patch)
treeb388f9e50784e03163752b5761e30b369b6bd4d4 /backends/platform/wince/wince-sdl.cpp
parent463e475bd654104aab1e19cbc6f315b3341ef470 (diff)
downloadscummvm-rg350-438f2b2e1bc987080a0dcc500d04f4eb18174763.tar.gz
scummvm-rg350-438f2b2e1bc987080a0dcc500d04f4eb18174763.tar.bz2
scummvm-rg350-438f2b2e1bc987080a0dcc500d04f4eb18174763.zip
WINCE: Cleanup WinCE event source a bit.
Diffstat (limited to 'backends/platform/wince/wince-sdl.cpp')
-rw-r--r--backends/platform/wince/wince-sdl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/wince/wince-sdl.cpp b/backends/platform/wince/wince-sdl.cpp
index 45aa63529f..f456a63b7b 100644
--- a/backends/platform/wince/wince-sdl.cpp
+++ b/backends/platform/wince/wince-sdl.cpp
@@ -378,6 +378,8 @@ void OSystem_WINCE3::initBackend() {
if (_graphicsManager == 0)
_graphicsManager = new WINCESdlGraphicsManager(_eventSource);
+ ((WINCESdlEventSource *)_eventSource)->init((WINCESdlGraphicsManager *)_graphicsManager);
+
// Create the timer. CE SDL does not support multiple timers (SDL_AddTimer).
// We work around this by using the SetTimer function, since we only use
// one timer in scummvm (for the time being)