mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-13 07:14:59 +00:00
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
This commit is contained in:
parent
1ff27b72dc
commit
9c4d086165
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user