From be66a538b44966c52a48cc59421ccd7b7c27dedc Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Sun, 21 Dec 2008 17:53:38 +0000 Subject: add detection for The 11th Hour demo svn-id: r35469 --- engines/groovie/detection.cpp | 10 ++++++++++ engines/groovie/groovie.cpp | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) 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)) { -- cgit v1.2.3