diff options
author | Torbjörn Andersson | 2003-09-02 15:11:19 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-09-02 15:11:19 +0000 |
commit | 907485c1a2681cf2609eddc51f970bb5dabd7a58 (patch) | |
tree | 2fd95b6d1c59b3935522ee4cce8931def5cd08d3 /sword2 | |
parent | 60dd216672e3a0caeaaf37f087aec5eb7a65f172 (diff) | |
download | scummvm-rg350-907485c1a2681cf2609eddc51f970bb5dabd7a58.tar.gz scummvm-rg350-907485c1a2681cf2609eddc51f970bb5dabd7a58.tar.bz2 scummvm-rg350-907485c1a2681cf2609eddc51f970bb5dabd7a58.zip |
Another untested endian fix.
svn-id: r9971
Diffstat (limited to 'sword2')
-rw-r--r-- | sword2/driver/d_sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/d_sound.cpp b/sword2/driver/d_sound.cpp index b4040a653f..3b5ac17463 100644 --- a/sword2/driver/d_sound.cpp +++ b/sword2/driver/d_sound.cpp @@ -689,7 +689,7 @@ int32 Sword2Sound::OpenFx(int32 id, uint8 *data) { 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) |