[Scummvm-cvs-logs] CVS: scummvm/gui launcher.cpp,1.52,1.53

Max Horn fingolfin at users.sourceforge.net
Wed Oct 8 15:12:01 CEST 2003


Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv8697/gui

Modified Files:
	launcher.cpp 
Log Message:
turned PluginManager into a proper singleton

Index: launcher.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/launcher.cpp,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- launcher.cpp	8 Oct 2003 21:59:22 -0000	1.52
+++ launcher.cpp	8 Oct 2003 22:10:59 -0000	1.53
@@ -281,8 +281,7 @@
 
 	// Iterate over all known games and for each check if it might be
 	// the game in the presented directory.
-	assert(g_pluginManager);
-	const PluginList &plugins = g_pluginManager->getPlugins();
+	const PluginList &plugins = PluginManager::instance().getPlugins();
 	int p;
 	for (p = 0; p < plugins.size(); p++) {
 		const TargetSettings *v = plugins[p]->getTargets();





More information about the Scummvm-git-logs mailing list