[Scummvm-cvs-logs] CVS: scummvm/sword2/driver d_sound.cpp,1.95,1.96

Max Horn fingolfin at users.sourceforge.net
Sat Jan 3 11:03:10 CET 2004


Update of /cvsroot/scummvm/scummvm/sword2/driver
In directory sc8-pr-cvs1:/tmp/cvs-serv27947

Modified Files:
	d_sound.cpp 
Log Message:
fix for BE systems

Index: d_sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/driver/d_sound.cpp,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- d_sound.cpp	3 Jan 2004 11:24:39 -0000	1.95
+++ d_sound.cpp	3 Jan 2004 19:02:18 -0000	1.96
@@ -1026,7 +1026,7 @@
 
 	_fx[fxi]._rate = READ_LE_UINT16(data + 24);
 
-	data += READ_UINT32(data + 16) + 20;
+	data += READ_LE_UINT32(data + 16) + 20;
 
 	if (READ_UINT32(data) != MKID('data')) {
 		warning("openFx: WAV file has no 'data' chunk");





More information about the Scummvm-git-logs mailing list