aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/music.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2015-06-27 22:43:32 +0200
committerMartin Kiewitz2015-06-27 22:44:39 +0200
commit0655839a4ff2a3805919c0b9bfa8f035d015e641 (patch)
tree2708550c323fac08ba6062b869389905ff21a0c8 /engines/sherlock/music.cpp
parent9cfe5c12968bdb53fb552615a354180b04778e29 (diff)
downloadscummvm-rg350-0655839a4ff2a3805919c0b9bfa8f035d015e641.tar.gz
scummvm-rg350-0655839a4ff2a3805919c0b9bfa8f035d015e641.tar.bz2
scummvm-rg350-0655839a4ff2a3805919c0b9bfa8f035d015e641.zip
COMMON: move Miles Audio AdLib+MT32 to common
- remove Miles Audio from Sherlock engine - put Miles Audio into common audio (namespace Audio) - Miles Audio is used at least by the engines TINSEL, GROOVIE, TOLTECS, SAGA and KYRA This way it can be used by the other engines
Diffstat (limited to 'engines/sherlock/music.cpp')
-rw-r--r--engines/sherlock/music.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/sherlock/music.cpp b/engines/sherlock/music.cpp
index 948794a5a6..f72eaf71c3 100644
--- a/engines/sherlock/music.cpp
+++ b/engines/sherlock/music.cpp
@@ -25,7 +25,8 @@
#include "sherlock/sherlock.h"
#include "sherlock/music.h"
#include "sherlock/scalpel/drivers/mididriver.h"
-#include "sherlock/tattoo/drivers/tattoo_mididriver.h"
+// for Miles Audio (Sherlock Holmes 2)
+#include "audio/miles.h"
// for 3DO digital music
#include "audio/decoders/aiff.h"
@@ -269,14 +270,14 @@ Music::Music(SherlockEngine *vm, Audio::Mixer *mixer) : _vm(vm), _mixer(mixer) {
// SAMPLE.AD -> regular AdLib instrument data
// SAMPLE.OPL -> OPL-3 instrument data
// although in case of Rose Tattoo both files are exactly the same
- _midiDriver = MidiDriver_Miles_AdLib_create("SAMPLE.AD", "SAMPLE.OPL");
+ _midiDriver = Audio::MidiDriver_Miles_AdLib_create("SAMPLE.AD", "SAMPLE.OPL");
break;
case MT_MT32:
- _midiDriver = MidiDriver_Miles_MT32_create("SAMPLE.MT");
+ _midiDriver = Audio::MidiDriver_Miles_MT32_create("SAMPLE.MT");
break;
case MT_GM:
if (ConfMan.getBool("native_mt32")) {
- _midiDriver = MidiDriver_Miles_MT32_create("SAMPLE.MT");
+ _midiDriver = Audio::MidiDriver_Miles_MT32_create("SAMPLE.MT");
_musicType = MT_MT32;
}
break;