diff options
author | Johannes Schickel | 2009-05-22 00:58:09 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-05-22 00:58:09 +0000 |
commit | 32c2e93ecccf999732975c384dcb28f2fc3e112a (patch) | |
tree | 50599cfbe6ffba4c35760411a339f3bfc71b040b /engines | |
parent | f7b1aa2a8eb8482db95e12e17c57e4cb41b4e180 (diff) | |
download | scummvm-rg350-32c2e93ecccf999732975c384dcb28f2fc3e112a.tar.gz scummvm-rg350-32c2e93ecccf999732975c384dcb28f2fc3e112a.tar.bz2 scummvm-rg350-32c2e93ecccf999732975c384dcb28f2fc3e112a.zip |
Properly initialize MT-32 for LoL demos.
svn-id: r40781
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/sound_midi.cpp | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/engines/kyra/sound_midi.cpp b/engines/kyra/sound_midi.cpp index 8870c2e516..80c7e65cba 100644 --- a/engines/kyra/sound_midi.cpp +++ b/engines/kyra/sound_midi.cpp @@ -513,12 +513,23 @@ bool SoundMidiPC::init() { } else if (_vm->gameFlags().gameID == GI_LOL) { midiFile = "LOREINTR"; - if (_vm->gameFlags().isTalkie) - pakFile = "ENG/STARTUP.PAK"; - else if (_vm->gameFlags().useInstallerPackage) - pakFile = "INTROVOC.CMP"; - else - pakFile = "INTROVOC.PAK"; + if (_vm->gameFlags().isDemo) { + if (!_vm->gameFlags().useAltShapeHeader) { + // Intro demo + pakFile = "INTROVOC.PAK"; + } else { + // Kyra2 SEQ player based demo + pakFile = "GENERAL.PAK"; + midiFile = "LOREDEMO"; + } + } else { + if (_vm->gameFlags().isTalkie) + pakFile = "ENG/STARTUP.PAK"; + else if (_vm->gameFlags().useInstallerPackage) + pakFile = "INTROVOC.CMP"; + else + pakFile = "INTROVOC.PAK"; + } } if (!midiFile) |