[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.250,1.251

Travis Howell kirben at users.sourceforge.net
Sat Sep 13 07:10:06 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv3361/scumm

Modified Files:
	sound.cpp 
Log Message:

Revert change, was not needed after all.


Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -d -r1.250 -r1.251
--- sound.cpp	13 Sep 2003 12:04:48 -0000	1.250
+++ sound.cpp	13 Sep 2003 14:09:36 -0000	1.251
@@ -350,8 +350,6 @@
 					int waveSize = READ_LE_UINT32(ptr + 0x0C);
 					int loopStart = READ_LE_UINT32(ptr + 0x10);
 					int loopEnd = READ_LE_UINT32(ptr + 0x14);
-					if (loopEnd == 0 && loopStart > 0)
-						waveSize = loopStart;
 					// it's not exactly * 10, maybe it's not even linear, but * 10 sounds ok.
 					rate = READ_LE_UINT32(ptr + 0x18) * 10;
 





More information about the Scummvm-git-logs mailing list