[Scummvm-cvs-logs] SF.net SVN: scummvm: [27874] scummvm/trunk/gui/launcher.cpp

agent-q at users.sourceforge.net agent-q at users.sourceforge.net
Tue Jul 3 00:48:40 CEST 2007


Revision: 27874
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27874&view=rev
Author:   agent-q
Date:     2007-07-02 15:48:39 -0700 (Mon, 02 Jul 2007)

Log Message:
-----------
Fix for launcher detecting DS configuration section in config file as a game

Modified Paths:
--------------
    scummvm/trunk/gui/launcher.cpp

Modified: scummvm/trunk/gui/launcher.cpp
===================================================================
--- scummvm/trunk/gui/launcher.cpp	2007-07-02 22:46:45 UTC (rev 27873)
+++ scummvm/trunk/gui/launcher.cpp	2007-07-02 22:48:39 UTC (rev 27874)
@@ -588,6 +588,15 @@
 			if (g.contains("description"))
 				description = g.description();
 		}
+
+#ifdef __DS__
+		// DS port uses an extra section called 'ds'.  This prevents the section from being
+		// detected as a game.
+		if (gameid == "ds") {
+			continue;
+		}
+#endif
+
 		if (description.empty())
 			description = "Unknown (target " + iter->_key + ", gameid " + gameid + ")";
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list