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/agi | |
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/agi')
-rw-r--r-- | engines/agi/detection.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/agi/detection.cpp b/engines/agi/detection.cpp index e72647d5e2..1c2638fc89 100644 --- a/engines/agi/detection.cpp +++ b/engines/agi/detection.cpp @@ -979,7 +979,9 @@ static const ADParams detectionParams = { // Flags 0, // Additional GUI options (for every game} - Common::GUIO_NOSPEECH | Common::GUIO_NOMIDI + Common::GUIO_NOSPEECH | Common::GUIO_NOMIDI, + // Maximum directory depth + 1 }; } // End of namespace Agi |