[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.174,1.175
Travis Howell
kirben at users.sourceforge.net
Fri Jul 18 07:49:07 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv24485/scumm
Modified Files:
sound.cpp
Log Message:
Another fix from Hibernatus
Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.174
retrieving revision 1.175
diff -u -d -r1.174 -r1.175
--- sound.cpp 18 Jul 2003 05:59:32 -0000 1.174
+++ sound.cpp 18 Jul 2003 14:48:18 -0000 1.175
@@ -392,7 +392,7 @@
int waveSize = READ_LE_UINT32(ptr + 0x22);
int loopStart = READ_LE_UINT32(ptr + 0x26);
int loopEnd = READ_LE_UINT32(ptr + 0x2A);
- rate = (READ_LE_UINT32(ptr + 0x32) == 60) ? 11025 : 22050; // 48 means 22050
+ rate = (ptr[0x32] == 60) ? 11025 : 22050; // 48 means 22050
if (size - 0x36 < waveSize) {
warning("Wrong wave size in sound #%i: %i", soundID, waveSize);
More information about the Scummvm-git-logs
mailing list