[Scummvm-cvs-logs] scummvm master -> 9c4d086165e74d70439fe95992bc9e5c1a65cb25
bluegr
bluegr at gmail.com
Sun Jun 15 02:55:22 CEST 2014
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:
9c4d086165 DRASCULA: Handle audio files in the "audio" folder (bug #6631)
Commit: 9c4d086165e74d70439fe95992bc9e5c1a65cb25
https://github.com/scummvm/scummvm/commit/9c4d086165e74d70439fe95992bc9e5c1a65cb25
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2014-06-15T03:54:43+03:00
Commit Message:
DRASCULA: Handle audio files in the "audio" folder (bug #6631)
The music add-on packs we provide have the audio files in an "audio"
folder, but without clear indication that its contents should be
copied inside the game data folder. Since this can lead to confusion
from users, we just add support for this case
Changed paths:
engines/drascula/drascula.cpp
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index 35461f1..797b6d9 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -194,6 +194,9 @@ DrasculaEngine::DrasculaEngine(OSystem *syst, const DrasculaGameDescription *gam
_console = 0;
+ const Common::FSNode gameDataDir(ConfMan.get("path"));
+ SearchMan.addSubDirectoryMatching(gameDataDir, "audio");
+
int cd_num = ConfMan.getInt("cdrom");
if (cd_num >= 0)
_system->getAudioCDManager()->openCD(cd_num);
More information about the Scummvm-git-logs
mailing list