[Scummvm-cvs-logs] CVS: scummvm/base main.cpp,1.46,1.47

Marcus Comstedt marcus_c at users.sourceforge.net
Thu Aug 26 14:53:00 CEST 2004


Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6824/base

Modified Files:
	main.cpp 
Log Message:
Run the DC launcher from inside the regular main() function.

Index: main.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/main.cpp,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- main.cpp	5 Aug 2004 11:13:00 -0000	1.46
+++ main.cpp	26 Aug 2004 21:51:18 -0000	1.47
@@ -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 @@
 
 	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();
 }





More information about the Scummvm-git-logs mailing list