diff options
author | Matthew Hoops | 2013-10-26 16:37:00 -0400 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | 5e0874797817ac62e583963ff0bb16f5766070f1 (patch) | |
tree | a20c9f25cad037b0c51f1232bf8f962df9de9f7d /engines/director/director.cpp | |
parent | 649ef2af6799bdae858d3056e7f24de6419623f4 (diff) | |
download | scummvm-rg350-5e0874797817ac62e583963ff0bb16f5766070f1.tar.gz scummvm-rg350-5e0874797817ac62e583963ff0bb16f5766070f1.tar.bz2 scummvm-rg350-5e0874797817ac62e583963ff0bb16f5766070f1.zip |
DIRECTOR: Add detection for jman Japanese
Diffstat (limited to 'engines/director/director.cpp')
-rw-r--r-- | engines/director/director.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/director/director.cpp b/engines/director/director.cpp index f7593127f6..2664497984 100644 --- a/engines/director/director.cpp +++ b/engines/director/director.cpp @@ -22,6 +22,7 @@ #include "audio/mixer.h" +#include "common/config-manager.h" #include "common/debug.h" #include "common/scummsys.h" #include "common/error.h" @@ -44,6 +45,10 @@ DirectorEngine::DirectorEngine(OSystem *syst, const DirectorGameDescription *gam _mainArchive = 0; _macBinary = 0; + + const Common::FSNode gameDataDir(ConfMan.get("path")); + SearchMan.addSubDirectoryMatching(gameDataDir, "data"); + SearchMan.addSubDirectoryMatching(gameDataDir, "install"); } DirectorEngine::~DirectorEngine() { |