[Scummvm-cvs-logs] CVS: scummvm/bs2/driver d_sound.cpp,1.28,1.29
Torbj?rn Andersson
eriktorbjorn at users.sourceforge.net
Tue Sep 2 08:12:13 CEST 2003
Update of /cvsroot/scummvm/scummvm/bs2/driver
In directory sc8-pr-cvs1:/tmp/cvs-serv6316
Modified Files:
d_sound.cpp
Log Message:
Another untested endian fix.
Index: d_sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/driver/d_sound.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- d_sound.cpp 2 Sep 2003 13:50:45 -0000 1.28
+++ d_sound.cpp 2 Sep 2003 15:11:19 -0000 1.29
@@ -689,7 +689,7 @@
if (!data32)
return(RDERR_INVALIDWAV);
- bufferSizeFx[fxi] = *(data32 + 1);
+ bufferSizeFx[fxi] = READ_LE_UINT32(data32 + 1);
// Fill the speech buffer with data
if (bufferFx[fxi] != NULL)
More information about the Scummvm-git-logs
mailing list