diff options
Diffstat (limited to 'engines/kyra/sound.cpp')
-rw-r--r-- | engines/kyra/sound.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/kyra/sound.cpp b/engines/kyra/sound.cpp index 6812554869..71ae8a446d 100644 --- a/engines/kyra/sound.cpp +++ b/engines/kyra/sound.cpp @@ -131,6 +131,16 @@ SoundMidiPC::~SoundMidiPC() { close(); } +void SoundMidiPC::hasNativeMT32(bool nativeMT32) { + _nativeMT32 = nativeMT32; + + // C55 appears to be XMIDI for General MIDI instruments + if (!_nativeMT32 && _vm->game() == GI_KYRA2) + _useC55 = true; + else + _useC55 = false; +} + void SoundMidiPC::setVolume(int volume) { if (volume < 0) volume = 0; |