aboutsummaryrefslogtreecommitdiff
path: root/common/mutex.h
diff options
context:
space:
mode:
authorThierry Crozat2014-09-05 07:46:42 +0100
committerThierry Crozat2014-09-05 07:46:42 +0100
commit8eb82fd6c1c65ad0590462853ade281101068afa (patch)
tree30b7669c373f291b56890fceb0041ebd62460f6a /common/mutex.h
parentbfbcc9f3e402f4b3180553374f6eeb8f7136808b (diff)
downloadscummvm-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