aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/detection.cpp
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/draci/detection.cpp
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/draci/detection.cpp')
-rw-r--r--engines/draci/detection.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/draci/detection.cpp b/engines/draci/detection.cpp
index c3204fc656..39834ab5fa 100644
--- a/engines/draci/detection.cpp
+++ b/engines/draci/detection.cpp
@@ -94,7 +94,9 @@ const ADParams detectionParams = {
// Flags
0,
// Global GUI options
- Common::GUIO_NONE
+ Common::GUIO_NONE,
+ // Maximum directory depth
+ 1
};
class DraciMetaEngine : public AdvancedMetaEngine {