[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.453,1.454

kirben kirben at users.sourceforge.net
Sun May 8 07:40:52 CEST 2005


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

Modified Files:
	sound.cpp 
Log Message:

Should be an error now.


Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.453
retrieving revision 1.454
diff -u -d -r1.453 -r1.454
--- sound.cpp	8 May 2005 14:31:25 -0000	1.453
+++ sound.cpp	8 May 2005 14:38:56 -0000	1.454
@@ -299,8 +299,7 @@
 		Common::MemoryReadStream stream(ptr, size);
 
 		if (!loadWAVFromStream(stream, size, rate, flags)) {
-			warning("playSound: IMA ADPCM compression not supported");
-			return;
+			error("playSound: Not a valid WAV file");
 		}
 
 		// Allocate a sound buffer, copy the data into it, and play





More information about the Scummvm-git-logs mailing list