aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
diff options
context:
space:
mode:
authorEugene Sandulenko2010-06-14 14:50:23 +0000
committerEugene Sandulenko2010-06-14 14:50:23 +0000
commit4d517ed0e9870ef75b7b0c3eeda9659563d3ace9 (patch)
tree073970e756b0d839e6750e2e95c067ab01dcc5ad /engines/mohawk
parent4f3bb60cd59f7b24a4c1d29de7ba790d262b16ee (diff)
downloadscummvm-rg350-4d517ed0e9870ef75b7b0c3eeda9659563d3ace9.tar.gz
scummvm-rg350-4d517ed0e9870ef75b7b0c3eeda9659563d3ace9.tar.bz2
scummvm-rg350-4d517ed0e9870ef75b7b0c3eeda9659563d3ace9.zip
Extended advancedDetector with depth parameter.
Now AD can search nested directories. By default it is turned off, but there is new parameter to ADParameters struct. Usually value of 2 is good enough for all purposes. svn-id: r49653
Diffstat (limited to 'engines/mohawk')
-rw-r--r--engines/mohawk/detection.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/mohawk/detection.cpp b/engines/mohawk/detection.cpp
index 7f2e0cb312..44c3bc4f6d 100644
--- a/engines/mohawk/detection.cpp
+++ b/engines/mohawk/detection.cpp
@@ -1011,7 +1011,9 @@ static const ADParams detectionParams = {
// Flags
0,
// Additional GUI options (for every game)
- Common::GUIO_NONE
+ Common::GUIO_NONE,
+ // Maximum directory depth
+ 1
};
class MohawkMetaEngine : public AdvancedMetaEngine {