[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.466,1.467

kirben kirben at users.sourceforge.net
Mon May 30 01:05:01 CEST 2005


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14772/scumm

Modified Files:
	sound.cpp 
Log Message:

Only sound types 0 - 2 are used by FM Towns games.


Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.466
retrieving revision 1.467
diff -u -d -r1.466 -r1.467
--- sound.cpp	25 May 2005 19:40:30 -0000	1.466
+++ sound.cpp	30 May 2005 08:03:23 -0000	1.467
@@ -490,7 +490,7 @@
 			}
 			break;
 		case 1:
-		case 255:	// 255 is the type used in Indy3 FM-TOWNS
+		case 255:	// 255 is the type used by sound resource 40 in Indy3 FM-TOWNS
 			// Music (Euphony format)
 			if (_vm->_musicEngine)
 				_vm->_musicEngine->startSound(soundID);
@@ -514,8 +514,7 @@
 
 			_currentCDSound = soundID;
 			break;
-		default: // Unsupported sound type
-			error("Unsupported sound sub-type %d", type);
+		default:
 			break;
 		}
 	}





More information about the Scummvm-git-logs mailing list