diff options
author | Eugene Sandulenko | 2010-06-14 14:50:23 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-06-14 14:50:23 +0000 |
commit | 4d517ed0e9870ef75b7b0c3eeda9659563d3ace9 (patch) | |
tree | 073970e756b0d839e6750e2e95c067ab01dcc5ad /engines/sci | |
parent | 4f3bb60cd59f7b24a4c1d29de7ba790d262b16ee (diff) | |
download | scummvm-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/sci')
-rw-r--r-- | engines/sci/detection.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp index 579414b3ea..7f0a27c14f 100644 --- a/engines/sci/detection.cpp +++ b/engines/sci/detection.cpp @@ -310,7 +310,9 @@ static const ADParams detectionParams = { // Flags 0, // Additional GUI options (for every game} - Common::GUIO_NONE + Common::GUIO_NONE, + // Maximum directory depth + 1 }; class SciMetaEngine : public AdvancedMetaEngine { |