diff options
author | Eugene Sandulenko | 2010-06-15 10:59:23 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-06-15 10:59:23 +0000 |
commit | 44a39ffbc66dbc9f019f041a47aaf9ba5a24d19f (patch) | |
tree | f86f55e3d62f5c0ebc309ba69f9fab30214acb5f /engines/sci | |
parent | 0b83afce03572eb513dd2802a8ad4c0377600f84 (diff) | |
download | scummvm-rg350-44a39ffbc66dbc9f019f041a47aaf9ba5a24d19f.tar.gz scummvm-rg350-44a39ffbc66dbc9f019f041a47aaf9ba5a24d19f.tar.bz2 scummvm-rg350-44a39ffbc66dbc9f019f041a47aaf9ba5a24d19f.zip |
AdvancedDetector: Add new parameter directoryGlobs.
Without this parameter mass detection gave tons of false alarms.
Use globbing for narrowing down the depth search.
svn-id: r49788
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 b402f7cc0b..7163c879b1 100644 --- a/engines/sci/detection.cpp +++ b/engines/sci/detection.cpp @@ -312,7 +312,9 @@ static const ADParams detectionParams = { // Additional GUI options (for every game} Common::GUIO_NONE, // Maximum directory depth - 1 + 1, + // List of directory globs + 0 }; class SciMetaEngine : public AdvancedMetaEngine { |