aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/detection.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2011-05-06 23:09:53 -0400
committerMatthew Hoops2011-05-06 23:12:19 -0400
commitdaa2732bee60cf8df24cf606a866b889766f86b0 (patch)
treeacae6742b4bf17326c1040bed30e682fbfaa00e9 /engines/m4/detection.cpp
parent99da647e8f496a6d225c0f30073266625cc24f63 (diff)
downloadscummvm-rg350-daa2732bee60cf8df24cf606a866b889766f86b0.tar.gz
scummvm-rg350-daa2732bee60cf8df24cf606a866b889766f86b0.tar.bz2
scummvm-rg350-daa2732bee60cf8df24cf606a866b889766f86b0.zip
M4: Allow Riddle to be run using the original directory structure
Not that the game starts up or anything :P
Diffstat (limited to 'engines/m4/detection.cpp')
-rw-r--r--engines/m4/detection.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/m4/detection.cpp b/engines/m4/detection.cpp
index 4b204996f3..84e9a874c7 100644
--- a/engines/m4/detection.cpp
+++ b/engines/m4/detection.cpp
@@ -380,7 +380,12 @@ static const M4GameDescription gameDescriptions[] = {
{ AD_TABLE_END_MARKER, 0, 0 }
};
-}
+} // End of namespace M4
+
+static const char *directoryGlobs[] = {
+ "option1",
+ 0
+};
static const ADParams detectionParams = {
// Pointer to ADGameDescription or its superset structure
@@ -402,9 +407,9 @@ static const ADParams detectionParams = {
// Additional GUI options (for every game}
Common::GUIO_NOMIDI,
// Maximum directory depth
- 1,
+ 2,
// List of directory globs
- 0
+ directoryGlobs
};
class M4MetaEngine : public AdvancedMetaEngine {