diff options
author | Marcus Comstedt | 2004-08-26 21:51:26 +0000 |
---|---|---|
committer | Marcus Comstedt | 2004-08-26 21:51:26 +0000 |
commit | 77026760c8f76dbd28c81f1804c5c172ff70e2b8 (patch) | |
tree | 55a481392e1a410760a52d241402cbd4f2585e1e /base/main.cpp | |
parent | fa89ee800aafcfd59d9e64ed27fbbabf9372dd11 (diff) | |
download | scummvm-rg350-77026760c8f76dbd28c81f1804c5c172ff70e2b8.tar.gz scummvm-rg350-77026760c8f76dbd28c81f1804c5c172ff70e2b8.tar.bz2 scummvm-rg350-77026760c8f76dbd28c81f1804c5c172ff70e2b8.zip |
Run the DC launcher from inside the regular main() function.
svn-id: r14787
Diffstat (limited to 'base/main.cpp')
-rw-r--r-- | base/main.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/base/main.cpp b/base/main.cpp index 10c914991e..749d62a5fa 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -45,6 +45,10 @@ #include "backends/wince/CELauncherDialog.h" #endif +#ifdef __DC__ +#include "backends/dc/DCLauncherDialog.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). @@ -214,10 +218,12 @@ static int launcherDialog(GameDetector &detector, OSystem *system) { system->setPalette(dummy_palette, 0, 16); -#ifndef _WIN32_WCE - GUI::LauncherDialog dlg(detector); -#else +#if defined(_WIN32_WCE) CELauncherDialog dlg(detector); +#elif defined(__DC__) + DCLauncherDialog dlg(detector); +#else + GUI::LauncherDialog dlg(detector); #endif return dlg.runModal(); } |