[Scummvm-cvs-logs] SF.net SVN: scummvm:[50891] scummvm/trunk/engines/agi/agi.cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Wed Jul 14 19:04:54 CEST 2010


Revision: 50891
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50891&view=rev
Author:   mthreepwood
Date:     2010-07-14 17:04:53 +0000 (Wed, 14 Jul 2010)

Log Message:
-----------
Fix non-PCSPK sound types in AGI.

Modified Paths:
--------------
    scummvm/trunk/engines/agi/agi.cpp

Modified: scummvm/trunk/engines/agi/agi.cpp
===================================================================
--- scummvm/trunk/engines/agi/agi.cpp	2010-07-14 17:02:14 UTC (rev 50890)
+++ scummvm/trunk/engines/agi/agi.cpp	2010-07-14 17:04:53 UTC (rev 50891)
@@ -580,7 +580,7 @@
 	} else if (getPlatform() == Common::kPlatformCoCo3) {
 		_soundemu = SOUND_EMU_COCO3;
 	} else {
-		switch (MidiDriver::getMusicType(MidiDriver::detectDevice(MDT_PCSPK))) {
+		switch (MidiDriver::getMusicType(MidiDriver::detectDevice(MDT_PCSPK|MDT_ADLIB|MDT_PCJR|MDT_MIDI))) {
 		case MT_PCSPK:
 			_soundemu = SOUND_EMU_PC;
 			break;


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