[Scummvm-cvs-logs] SF.net SVN: scummvm:[55875] scummvm/trunk/engines/sci/sound/drivers

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Feb 10 22:10:49 CET 2011


Revision: 55875
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55875&view=rev
Author:   thebluegr
Date:     2011-02-10 21:10:49 +0000 (Thu, 10 Feb 2011)

Log Message:
-----------
SCI: Added comments to the FB-01 and MIDI drivers. The original driver files are only
needed in SCI0 early games, which didn't include separate sound patch resources. Thanks
to waltervn for the information he supplied

Modified Paths:
--------------
    scummvm/trunk/engines/sci/sound/drivers/fb01.cpp
    scummvm/trunk/engines/sci/sound/drivers/midi.cpp

Modified: scummvm/trunk/engines/sci/sound/drivers/fb01.cpp
===================================================================
--- scummvm/trunk/engines/sci/sound/drivers/fb01.cpp	2011-02-10 16:58:13 UTC (rev 55874)
+++ scummvm/trunk/engines/sci/sound/drivers/fb01.cpp	2011-02-10 21:10:49 UTC (rev 55875)
@@ -486,6 +486,11 @@
 	if (res) {
 		sendBanks(res->data, res->size);
 	} else {
+		// Early SCI0 games have the sound bank embedded in the IMF driver.
+		// Note that these games didn't actually support the FB-01 as a device,
+		// but the IMF, which is the same device on an ISA card. Check:
+		// http://wiki.vintage-computer.com/index.php/IBM_Music_feature_card
+
 		warning("FB-01 patch file not found, attempting to load sound bank from IMF.DRV");
 		// Try to load sound bank from IMF.DRV
 		Common::File f;

Modified: scummvm/trunk/engines/sci/sound/drivers/midi.cpp
===================================================================
--- scummvm/trunk/engines/sci/sound/drivers/midi.cpp	2011-02-10 16:58:13 UTC (rev 55874)
+++ scummvm/trunk/engines/sci/sound/drivers/midi.cpp	2011-02-10 21:10:49 UTC (rev 55875)
@@ -878,6 +878,7 @@
 				readMt32Patch(res->data, res->size);
 			}
 		} else {
+			// Early SCI0 games have the sound bank embedded in the MT-32 driver
 			readMt32DrvData();
 		}
 	} else {
@@ -940,6 +941,8 @@
 					}
 				}
 			} else {
+				// Early SCI0 games have the sound bank embedded in the MT-32 driver
+
 				// No MT-32 patch present, try to read from MT32.DRV
 				Common::File f;
 


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