From 77026760c8f76dbd28c81f1804c5c172ff70e2b8 Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Thu, 26 Aug 2004 21:51:26 +0000 Subject: Run the DC launcher from inside the regular main() function. svn-id: r14787 --- base/main.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'base') 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(); } -- cgit v1.2.3