aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-22 01:03:14 +0000
committerJohannes Schickel2009-05-22 01:03:14 +0000
commit274bb7b0dde8d5def988d726c42ad1b227b24ebc (patch)
tree754a9fe2eb5313ee47c35c578f5beaf0d2010d66
parent32c2e93ecccf999732975c384dcb28f2fc3e112a (diff)
downloadscummvm-rg350-274bb7b0dde8d5def988d726c42ad1b227b24ebc.tar.gz
scummvm-rg350-274bb7b0dde8d5def988d726c42ad1b227b24ebc.tar.bz2
scummvm-rg350-274bb7b0dde8d5def988d726c42ad1b227b24ebc.zip
Oops typo.
svn-id: r40782
-rw-r--r--engines/kyra/sound_midi.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/sound_midi.cpp b/engines/kyra/sound_midi.cpp
index 80c7e65cba..66f0408c52 100644
--- a/engines/kyra/sound_midi.cpp
+++ b/engines/kyra/sound_midi.cpp
@@ -269,8 +269,8 @@ void MidiOutput::sendIntern(const byte event, const byte channel, byte param1, c
void MidiOutput::sysEx(const byte *msg, uint16 length) {
uint32 curTime = _system->getMillis();
- if (_lastSysEx + 40 > curTime)
- _system->delayMillis(_lastSysEx + 40 - curTime);
+ if (_lastSysEx + 45 > curTime)
+ _system->delayMillis(_lastSysEx + 45 - curTime);
_output->sysEx(msg, length);
@@ -514,7 +514,7 @@ bool SoundMidiPC::init() {
midiFile = "LOREINTR";
if (_vm->gameFlags().isDemo) {
- if (!_vm->gameFlags().useAltShapeHeader) {
+ if (_vm->gameFlags().useAltShapeHeader) {
// Intro demo
pakFile = "INTROVOC.PAK";
} else {