[Scummvm-cvs-logs] SF.net SVN: scummvm:[50927] scummvm/trunk/engines/saga/music.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Fri Jul 16 05:33:00 CEST 2010


Revision: 50927
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50927&view=rev
Author:   eriktorbjorn
Date:     2010-07-16 03:32:59 +0000 (Fri, 16 Jul 2010)

Log Message:
-----------
The standalone MIDI files for one of the re-releases of Inherit the Earth are
General MIDI, not MT-32. (I hope this doesn't break anything else.)

Modified Paths:
--------------
    scummvm/trunk/engines/saga/music.cpp

Modified: scummvm/trunk/engines/saga/music.cpp
===================================================================
--- scummvm/trunk/engines/saga/music.cpp	2010-07-16 03:31:45 UTC (rev 50926)
+++ scummvm/trunk/engines/saga/music.cpp	2010-07-16 03:32:59 UTC (rev 50927)
@@ -158,6 +158,8 @@
 			_driver->setGM(_vm->getGameId() != GID_ITE);
 		} else {
 			_parser = MidiParser::createParser_SMF();
+			// ITE with standalone MIDI files is General MIDI
+			_driver->setGM(_vm->getGameId() == GID_ITE);
 		}
 		free(resourceData);
 	}


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