diff options
author | Thierry Crozat | 2014-09-05 07:46:42 +0100 |
---|---|---|
committer | Thierry Crozat | 2014-09-05 07:46:42 +0100 |
commit | 8eb82fd6c1c65ad0590462853ade281101068afa (patch) | |
tree | 30b7669c373f291b56890fceb0041ebd62460f6a /common/mutex.h | |
parent | bfbcc9f3e402f4b3180553374f6eeb8f7136808b (diff) | |
download | scummvm-rg350-8eb82fd6c1c65ad0590462853ade281101068afa.tar.gz scummvm-rg350-8eb82fd6c1c65ad0590462853ade281101068afa.tar.bz2 scummvm-rg350-8eb82fd6c1c65ad0590462853ade281101068afa.zip |
SWORD1: Fix heuristic to determine the endianess of the speech in mac version
Because the data is compressed (a repeated sample is coded as a
negative length followed by the value), when the length is read with
the wrong endianess we get completely wrong data. So to get the BE
data we cannot just read them assuming LE and byteswap afterward.
Diffstat (limited to 'common/mutex.h')
0 files changed, 0 insertions, 0 deletions