From c913ffe83f1b5c7653a060ad489e80c86c3e715a Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 24 Aug 2010 13:11:12 +0000 Subject: KYRA: Add support for playing KYRA3 from CD. svn-id: r52336 --- engines/kyra/detection.cpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'engines/kyra/detection.cpp') diff --git a/engines/kyra/detection.cpp b/engines/kyra/detection.cpp index 135a9ae7b2..875b49b62d 100644 --- a/engines/kyra/detection.cpp +++ b/engines/kyra/detection.cpp @@ -43,6 +43,13 @@ struct KYRAGameDescription { #include "kyra/detection_tables.h" +namespace { + +const char * const directoryGlobs[] = { + "malcolm", + 0 +}; + const ADParams detectionParams = { // Pointer to ADGameDescription or its superset structure (const byte *)adGameDescs, @@ -63,11 +70,13 @@ const ADParams detectionParams = { // Additional GUI options (for every game} Common::GUIO_NONE, // Maximum directory depth - 1, + 2, // List of directory globs - 0 + directoryGlobs }; +} // End of anonymous namespace + class KyraMetaEngine : public AdvancedMetaEngine { public: KyraMetaEngine() : AdvancedMetaEngine(detectionParams) {} -- cgit v1.2.3