aboutsummaryrefslogtreecommitdiff
path: root/base/main.cpp
diff options
context:
space:
mode:
authorNicolas Bacca2004-01-26 07:32:25 +0000
committerNicolas Bacca2004-01-26 07:32:25 +0000
commit8ea92dedabb467abf07b3e24e1f324e71c03e47b (patch)
tree3ce41071da8f5043e13283d11854c257fbb3b94a /base/main.cpp
parent663b81a4d7a7e261bb10f7a2b21e00b0254a1583 (diff)
downloadscummvm-rg350-8ea92dedabb467abf07b3e24e1f324e71c03e47b.tar.gz
scummvm-rg350-8ea92dedabb467abf07b3e24e1f324e71c03e47b.tar.bz2
scummvm-rg350-8ea92dedabb467abf07b3e24e1f324e71c03e47b.zip
Support for new CE backend launcher
svn-id: r12601
Diffstat (limited to 'base/main.cpp')
-rw-r--r--base/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/base/main.cpp b/base/main.cpp
index 289581bacc..36409fe41e 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -39,6 +39,10 @@
#include "gui/launcher.h"
#include "gui/message.h"
+#ifdef _WIN32_WCE
+#include "backends/wince/CELauncherDialog.h"
+#endif
+
/*
* Version string and build date string. These can be used by anything that
* wants to display this information to the user (e.g. about dialog).
@@ -181,7 +185,11 @@ static int launcherDialog(GameDetector &detector, OSystem *system) {
system->set_palette(dummy_palette, 0, 16);
+#ifndef _WIN32_WCE
GUI::LauncherDialog dlg(detector);
+#else
+ CELauncherDialog dlg(detector);
+#endif
return dlg.runModal();
}