From 44a39ffbc66dbc9f019f041a47aaf9ba5a24d19f Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 15 Jun 2010 10:59:23 +0000 Subject: 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 --- engines/parallaction/detection.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/parallaction') diff --git a/engines/parallaction/detection.cpp b/engines/parallaction/detection.cpp index 2ecaf1c2d6..e00a087923 100644 --- a/engines/parallaction/detection.cpp +++ b/engines/parallaction/detection.cpp @@ -242,7 +242,9 @@ static const ADParams detectionParams = { // Additional GUI options (for every game} Common::GUIO_NOLAUNCHLOAD, // Maximum directory depth - 1 + 1, + // List of directory globs + 0 }; class ParallactionMetaEngine : public AdvancedMetaEngine { -- cgit v1.2.3