[Scummvm-cvs-logs] SF.net SVN: scummvm:[51369] scummvm/trunk/engines/sci/sound/music.cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Tue Jul 27 15:31:28 CEST 2010


Revision: 51369
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51369&view=rev
Author:   mthreepwood
Date:     2010-07-27 13:31:28 +0000 (Tue, 27 Jul 2010)

Log Message:
-----------
SCI: Fix PCjr sound

Modified Paths:
--------------
    scummvm/trunk/engines/sci/sound/music.cpp

Modified: scummvm/trunk/engines/sci/sound/music.cpp
===================================================================
--- scummvm/trunk/engines/sci/sound/music.cpp	2010-07-27 13:25:35 UTC (rev 51368)
+++ scummvm/trunk/engines/sci/sound/music.cpp	2010-07-27 13:31:28 UTC (rev 51369)
@@ -65,7 +65,7 @@
 
 	// Default to MIDI in SCI2.1+ games, as many don't have AdLib support.
 	Common::Platform platform = g_sci->getPlatform();
-	uint32 dev = MidiDriver::detectDevice((getSciVersion() >= SCI_VERSION_2_1) ? (MDT_PCSPK | MDT_ADLIB | MDT_MIDI | MDT_PREFER_GM) : (MDT_PCSPK | MDT_ADLIB | MDT_MIDI));
+	uint32 dev = MidiDriver::detectDevice((getSciVersion() >= SCI_VERSION_2_1) ? (MDT_PCSPK | MDT_PCJR | MDT_ADLIB | MDT_MIDI | MDT_PREFER_GM) : (MDT_PCSPK | MDT_PCJR | MDT_ADLIB | MDT_MIDI));
 
 	switch (MidiDriver::getMusicType(dev)) {
 	case MT_ADLIB:


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