aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/cruise.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2009-08-09 12:23:01 +0000
committerPaul Gilbert2009-08-09 12:23:01 +0000
commita9e55b2f9115c3b61ab4bfdce10043ecff653762 (patch)
tree1c8eeb0e39ac7ddbd6c45037f0d49cf1ec663a3a /engines/cruise/cruise.cpp
parentb1a3bc9ca4286a52d97992723100fece10d9cd38 (diff)
downloadscummvm-rg350-a9e55b2f9115c3b61ab4bfdce10043ecff653762.tar.gz
scummvm-rg350-a9e55b2f9115c3b61ab4bfdce10043ecff653762.tar.bz2
scummvm-rg350-a9e55b2f9115c3b61ab4bfdce10043ecff653762.zip
Removed redundant code related to Midi handling
svn-id: r43171
Diffstat (limited to 'engines/cruise/cruise.cpp')
-rw-r--r--engines/cruise/cruise.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/engines/cruise/cruise.cpp b/engines/cruise/cruise.cpp
index 7abf83f054..1286c38ff3 100644
--- a/engines/cruise/cruise.cpp
+++ b/engines/cruise/cruise.cpp
@@ -124,18 +124,6 @@ void CruiseEngine::initialize() {
// another bit of video init
readVolCnf();
-
- // Setup mixer
-// _mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, ConfMan.getInt("sfx_volume"));
-// _mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, ConfMan.getInt("music_volume"));
-
- int midiDriver = MidiDriver::detectMusicDriver(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI);
- _mt32 = ((midiDriver == MD_MT32) || ConfMan.getBool("native_mt32"));
- _adlib = (midiDriver == MD_ADLIB);
-
- _driver = MidiDriver::createMidi(midiDriver);
- if (_mt32)
- _driver->property(MidiDriver::PROP_CHANNEL_MASK, 0x03FE);
}
void CruiseEngine::deinitialise() {