[Scummvm-git-logs] scummvm master -> c7307774bada40f2782930307b0f6fec1beddc25
digitall
dgturner at iee.org
Fri Aug 2 00:56:40 CEST 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
c7307774ba TEENAGENT: Add the music directory to the search path
Commit: c7307774bada40f2782930307b0f6fec1beddc25
https://github.com/scummvm/scummvm/commit/c7307774bada40f2782930307b0f6fec1beddc25
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2019-08-01T23:56:37+01:00
Commit Message:
TEENAGENT: Add the music directory to the search path
Needed by the GOG CD version.
Changed paths:
engines/teenagent/teenagent.cpp
diff --git a/engines/teenagent/teenagent.cpp b/engines/teenagent/teenagent.cpp
index d5777bb..85c2104 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;
More information about the Scummvm-git-logs
mailing list