From cc35c15f395bdbcecc38b8699c73ea341886244a Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 22 May 2009 14:09:51 +0000 Subject: Add hack so LoL intro demo will init MT-32 properly. svn-id: r40784 --- engines/kyra/sound_midi.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines') 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"; -- cgit v1.2.3