[Scummvm-cvs-logs] SF.net SVN: scummvm:[44291] scummvm/trunk/engines/sci/detection.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Sep 24 09:18:38 CEST 2009


Revision: 44291
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44291&view=rev
Author:   thebluegr
Date:     2009-09-24 07:18:38 +0000 (Thu, 24 Sep 2009)

Log Message:
-----------
Add "demo" to the extras field of the fallback detector for demos

Modified Paths:
--------------
    scummvm/trunk/engines/sci/detection.cpp

Modified: scummvm/trunk/engines/sci/detection.cpp
===================================================================
--- scummvm/trunk/engines/sci/detection.cpp	2009-09-24 06:53:03 UTC (rev 44290)
+++ scummvm/trunk/engines/sci/detection.cpp	2009-09-24 07:18:38 UTC (rev 44291)
@@ -361,6 +361,10 @@
 	if (!strcmp(s_fallbackDesc.desc.gameid, "qfg1") && !Common::File::exists("resource.001"))
 		s_fallbackDesc.desc.extra = "VGA Remake";
 
+	// Add "demo" to the description for demos
+	if (s_fallbackDesc.desc.flags & ADGF_DEMO)
+		s_fallbackDesc.desc.extra = "demo";
+
 	SearchMan.remove("SCI_detection");
 
 	return (const ADGameDescription *)&s_fallbackDesc;


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