diff options
author | Johannes Schickel | 2009-09-23 00:15:00 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-09-23 00:15:00 +0000 |
commit | c50940bbf4c9bde173cc3af22cf9b38a25df3514 (patch) | |
tree | 54101a22c17e39db13339cd52f4c2909b33b86c4 /sound | |
parent | 75113ad5f325f7b6ab802becf845705f97dd629e (diff) | |
download | scummvm-rg350-c50940bbf4c9bde173cc3af22cf9b38a25df3514.tar.gz scummvm-rg350-c50940bbf4c9bde173cc3af22cf9b38a25df3514.tar.bz2 scummvm-rg350-c50940bbf4c9bde173cc3af22cf9b38a25df3514.zip |
Got rid of Common::File::addDefaultDirectory, instead implemented the solution proposed in "Case agnostic handling for directories (and files)" on -devel.
svn-id: r44266
Diffstat (limited to 'sound')
-rw-r--r-- | sound/softsynth/mt32.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/softsynth/mt32.cpp b/sound/softsynth/mt32.cpp index d662be989e..914b37b6eb 100644 --- a/sound/softsynth/mt32.cpp +++ b/sound/softsynth/mt32.cpp @@ -38,6 +38,7 @@ #include "common/file.h" #include "common/system.h" #include "common/util.h" +#include "common/archive.h" #include "graphics/fontman.h" #include "graphics/surface.h" @@ -514,7 +515,7 @@ Common::Error MT32EmuMusicPlugin::createInstance(Audio::Mixer *mixer, MidiDriver MidiDriver *MidiDriver_MT32_create(Audio::Mixer *mixer) { // HACK: It will stay here until engine plugin loader overhaul if (ConfMan.hasKey("extrapath")) - Common::File::addDefaultDirectory(ConfMan.get("extrapath")); + SearchMan.addDirectory("extrapath", ConfMan.get("extrapath")); MidiDriver *mididriver; |