aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Persson2006-04-21 20:49:06 +0000
committerLars Persson2006-04-21 20:49:06 +0000
commit86bc1d49230b229ebb885138655b0e37f8130936 (patch)
tree1924188f1492cb8f09766b1440b6cf4f6b89cdde
parent312e49b6eb987ebdce03439dea7a370406e101aa (diff)
downloadscummvm-rg350-86bc1d49230b229ebb885138655b0e37f8130936.tar.gz
scummvm-rg350-86bc1d49230b229ebb885138655b0e37f8130936.tar.bz2
scummvm-rg350-86bc1d49230b229ebb885138655b0e37f8130936.zip
Add creation of Symbian SDL backend instead of plain SDL
svn-id: r22071
-rw-r--r--backends/sdl/sdl.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/backends/sdl/sdl.cpp b/backends/sdl/sdl.cpp
index e975d6a061..078a5a2d62 100644
--- a/backends/sdl/sdl.cpp
+++ b/backends/sdl/sdl.cpp
@@ -28,6 +28,9 @@
#include "icons/scummvm.xpm"
+#if defined(__SYMBIAN32__)
+#include "SymbianOs.h"
+#endif
#if !defined(_WIN32_WCE) && !defined(__MAEMO__)
@@ -85,7 +88,11 @@ int main(int argc, char *argv[]) {
#endif // defined(__SYMBIAN32__)
// Create our OSystem instance
+#if defined(__SYMBIAN32__)
+ g_system = new OSystem_SDL_Symbian();
+#else
g_system = new OSystem_SDL();
+#endif
assert(g_system);
// Invoke the actual ScummVM main entry point: