diff options
author | Johannes Schickel | 2009-05-22 14:09:51 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-05-22 14:09:51 +0000 |
commit | cc35c15f395bdbcecc38b8699c73ea341886244a (patch) | |
tree | 3febf8fc6c4314066cc8c71e1e93f67c8ce0411b /engines/kyra/sound_midi.cpp | |
parent | 240cef8aa620466f3cfecdf60cb5d4fa8c5d8606 (diff) | |
download | scummvm-rg350-cc35c15f395bdbcecc38b8699c73ea341886244a.tar.gz scummvm-rg350-cc35c15f395bdbcecc38b8699c73ea341886244a.tar.bz2 scummvm-rg350-cc35c15f395bdbcecc38b8699c73ea341886244a.zip |
Add hack so LoL intro demo will init MT-32 properly.
svn-id: r40784
Diffstat (limited to 'engines/kyra/sound_midi.cpp')
-rw-r--r-- | engines/kyra/sound_midi.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/kyra/sound_midi.cpp b/engines/kyra/sound_midi.cpp index 6a28bdd914..039ee76eba 100644 --- a/engines/kyra/sound_midi.cpp +++ b/engines/kyra/sound_midi.cpp @@ -517,6 +517,10 @@ bool SoundMidiPC::init() { if (_vm->gameFlags().useAltShapeHeader) { // Intro demo pakFile = "INTROVOC.PAK"; + + // HACK: To prevent "Exc. Buffer overflow" + // we delay some time here. + _vm->_system->delayMillis(1000); } else { // Kyra2 SEQ player based demo pakFile = "GENERAL.PAK"; |