aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2008-12-21 17:53:38 +0000
committerMatthew Hoops2008-12-21 17:53:38 +0000
commitbe66a538b44966c52a48cc59421ccd7b7c27dedc (patch)
treedefbe36d1d405938aae73ab1fac09e1a1c392d35 /engines
parenta1eb74622ed894f2fb1d43ce310701ebf486c4fe (diff)
downloadscummvm-rg350-be66a538b44966c52a48cc59421ccd7b7c27dedc.tar.gz
scummvm-rg350-be66a538b44966c52a48cc59421ccd7b7c27dedc.tar.bz2
scummvm-rg350-be66a538b44966c52a48cc59421ccd7b7c27dedc.zip
add detection for The 11th Hour demo
svn-id: r35469
Diffstat (limited to 'engines')
-rw-r--r--engines/groovie/detection.cpp10
-rw-r--r--engines/groovie/groovie.cpp2
2 files changed, 11 insertions, 1 deletions
diff --git a/engines/groovie/detection.cpp b/engines/groovie/detection.cpp
index f52c4eb713..f4f7be7c86 100644
--- a/engines/groovie/detection.cpp
+++ b/engines/groovie/detection.cpp
@@ -83,6 +83,16 @@ static const GroovieGameDescription gameDescriptions[] = {
},
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
{
diff --git a/engines/groovie/groovie.cpp b/engines/groovie/groovie.cpp
index e54023aac6..c4f5de5cd4 100644
--- a/engines/groovie/groovie.cpp
+++ b/engines/groovie/groovie.cpp
@@ -106,7 +106,7 @@ Common::Error GroovieEngine::init() {
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)) {