[Scummvm-cvs-logs] SF.net SVN: scummvm:[40782] scummvm/trunk/engines/kyra/sound_midi.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri May 22 03:03:14 CEST 2009


Revision: 40782
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40782&view=rev
Author:   lordhoto
Date:     2009-05-22 01:03:14 +0000 (Fri, 22 May 2009)

Log Message:
-----------
Oops typo.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/sound_midi.cpp

Modified: scummvm/trunk/engines/kyra/sound_midi.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sound_midi.cpp	2009-05-22 00:58:09 UTC (rev 40781)
+++ scummvm/trunk/engines/kyra/sound_midi.cpp	2009-05-22 01:03:14 UTC (rev 40782)
@@ -269,8 +269,8 @@
 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 @@
 			midiFile = "LOREINTR";
 
 			if (_vm->gameFlags().isDemo) {
-				if (!_vm->gameFlags().useAltShapeHeader) {
+				if (_vm->gameFlags().useAltShapeHeader) {
 					// Intro demo
 					pakFile = "INTROVOC.PAK";
 				} else {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list