DIRECTOR: Set depth of 5 for directory globs
This fixes teamxtreme2 that has all game files sitting in DATA/ directory.
This commit is contained in:
parent
41a342519a
commit
7b76c345f2
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ DirectorEngine::DirectorEngine(OSystem *syst, const DirectorGameDescription *gam
|
|||
|
||||
for (uint i = 0; Director::directoryGlobs[i]; i++) {
|
||||
Common::String directoryGlob = directoryGlobs[i];
|
||||
SearchMan.addSubDirectoryMatching(_gameDataDir, directoryGlob);
|
||||
SearchMan.addSubDirectoryMatching(_gameDataDir, directoryGlob, 0, 5);
|
||||
}
|
||||
|
||||
if (debugChannelSet(-1, kDebug32bpp))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue