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
This commit is contained in:
Eugene Sandulenko 2010-06-14 14:50:23 +00:00
parent 4f3bb60cd5
commit 4d517ed0e9
22 changed files with 95 additions and 32 deletions

View file

@ -1011,7 +1011,9 @@ static const ADParams detectionParams = {
// Flags
0,
// Additional GUI options (for every game)
Common::GUIO_NONE
Common::GUIO_NONE,
// Maximum directory depth
1
};
class MohawkMetaEngine : public AdvancedMetaEngine {