[Scummvm-cvs-logs] CVS: scummvm/base main.cpp,1.58,1.59

Max Horn fingolfin at users.sourceforge.net
Sun Dec 5 09:36:01 CET 2004


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

Modified Files:
	main.cpp 
Log Message:
Turn off 'launcher looping' for now

Index: main.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/main.cpp,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- main.cpp	24 Nov 2004 00:13:58 -0000	1.58
+++ main.cpp	5 Dec 2004 17:35:24 -0000	1.59
@@ -387,11 +387,8 @@
 			PluginManager::instance().unloadPluginsExcept(detector._plugin);
 
 			int result = runGame(detector, system);
-			// TODO: for now, return code 0 (which is currently the only return
-			// code anyway) is interpreted to mean "return to launcher". This is
-			// *not* fixed, we could (and probably will) change the meaning etc.
-			if (result != 0)
-				running = false;
+			if (result == 0)
+				break;
 
 			// There are some command-line options that it's
 			// unlikely that we want to preserve now that we're





More information about the Scummvm-git-logs mailing list