diff options
author | Matthew Hoops | 2008-12-21 17:53:38 +0000 |
---|---|---|
committer | Matthew Hoops | 2008-12-21 17:53:38 +0000 |
commit | be66a538b44966c52a48cc59421ccd7b7c27dedc (patch) | |
tree | defbe36d1d405938aae73ab1fac09e1a1c392d35 /engines | |
parent | a1eb74622ed894f2fb1d43ce310701ebf486c4fe (diff) | |
download | scummvm-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.cpp | 10 | ||||
-rw-r--r-- | engines/groovie/groovie.cpp | 2 |
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)) { |