[Scummvm-cvs-logs] SF.net SVN: scummvm:[53105] scummvm/trunk/sound/mididrv.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sun Oct 10 09:43:13 CEST 2010


Revision: 53105
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53105&view=rev
Author:   eriktorbjorn
Date:     2010-10-10 07:43:12 +0000 (Sun, 10 Oct 2010)

Log Message:
-----------
MIDIDRV: Prefer PCjr over PC Speaker

If I understand this correctly, if the player's desired music driver
isn't supported (e.g. if you have MIDI as default, and haven't said
anything specifically for Maniac Mansion), it tries to pick the
"best" supported music driver instead. In this case, check if PCjr is
supported before picking PC Speaker.

Modified Paths:
--------------
    scummvm/trunk/sound/mididrv.cpp

Modified: scummvm/trunk/sound/mididrv.cpp
===================================================================
--- scummvm/trunk/sound/mididrv.cpp	2010-10-10 07:41:13 UTC (rev 53104)
+++ scummvm/trunk/sound/mididrv.cpp	2010-10-10 07:43:12 UTC (rev 53105)
@@ -247,10 +247,10 @@
 			tp = MT_PC98;
 		else if (flags & MDT_ADLIB)
 			tp = MT_ADLIB;
+		else if (flags & MDT_PCJR)
+			tp = MT_PCJR;
 		else if (flags & MDT_PCSPK)
 			tp = MT_PCSPK;
-		else if (flags & MDT_PCJR)
-			tp = MT_PCJR;
 		else if (flags & MDT_C64)
 			tp = MT_C64;
 		else if (flags & MDT_AMIGA)


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