[Scummvm-cvs-logs] SF.net SVN: scummvm:[35469] scummvm/trunk/engines/groovie

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Sun Dec 21 18:53:38 CET 2008


Revision: 35469
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35469&view=rev
Author:   mthreepwood
Date:     2008-12-21 17:53:38 +0000 (Sun, 21 Dec 2008)

Log Message:
-----------
add detection for The 11th Hour demo

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

Modified: scummvm/trunk/engines/groovie/detection.cpp
===================================================================
--- scummvm/trunk/engines/groovie/detection.cpp	2008-12-21 17:14:42 UTC (rev 35468)
+++ scummvm/trunk/engines/groovie/detection.cpp	2008-12-21 17:53:38 UTC (rev 35469)
@@ -83,6 +83,16 @@
 		},
 		kGroovieV2, 1
 	},
+	
+	// The 11th Hour DOS Demo English
+	{
+		{
+			"11h", "Demo",
+			AD_ENTRY1s("demo.grv", "5faec559b9abf18cf143751b420208dc", 15991),
+			Common::EN_ANY, Common::kPlatformPC, Common::ADGF_DEMO
+		},
+		kGroovieV2, 0
+	},
 
 	// The Making of The 11th Hour DOS English
 	{ 

Modified: scummvm/trunk/engines/groovie/groovie.cpp
===================================================================
--- scummvm/trunk/engines/groovie/groovie.cpp	2008-12-21 17:14:42 UTC (rev 35468)
+++ scummvm/trunk/engines/groovie/groovie.cpp	2008-12-21 17:53:38 UTC (rev 35469)
@@ -106,7 +106,7 @@
 		if (ConfMan.hasKey("demo_mode") && ConfMan.getBool("demo_mode")) {
 			filename = Common::String("demo.grv");
 		}
-	} else if (_gameDescription->version == kGroovieV2) {
+	} else if (_gameDescription->version == kGroovieV2 && filename == "disk.1") {
 		// Open the disk index
 		Common::File disk;
 		if (!disk.open(filename)) {


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