diff options
author | Cameron Cawley | 2019-08-01 23:24:48 +0100 |
---|---|---|
committer | David Turner | 2019-08-01 23:56:37 +0100 |
commit | c7307774bada40f2782930307b0f6fec1beddc25 (patch) | |
tree | 328e0151691b29543ae26bd36fd25740e82caa7b /engines/teenagent | |
parent | 4630895ccc36a86ff3d3908e7127a063f98e6c6f (diff) | |
download | scummvm-rg350-c7307774bada40f2782930307b0f6fec1beddc25.tar.gz scummvm-rg350-c7307774bada40f2782930307b0f6fec1beddc25.tar.bz2 scummvm-rg350-c7307774bada40f2782930307b0f6fec1beddc25.zip |
TEENAGENT: Add the music directory to the search path
Needed by the GOG CD version.
Diffstat (limited to 'engines/teenagent')
-rw-r--r-- | engines/teenagent/teenagent.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/teenagent/teenagent.cpp b/engines/teenagent/teenagent.cpp index d5777bb3dc..85c21041ea 100644 --- a/engines/teenagent/teenagent.cpp +++ b/engines/teenagent/teenagent.cpp @@ -535,6 +535,9 @@ bool TeenAgentEngine::showMetropolis() { } Common::Error TeenAgentEngine::run() { + const Common::FSNode gameDataDir(ConfMan.get("path")); + SearchMan.addSubDirectoryMatching(gameDataDir, "music"); + if (!res->loadArchives(_gameDescription)) return Common::kUnknownError; |