aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorThierry Crozat2017-04-14 00:01:54 +0100
committerThierry Crozat2017-04-14 00:01:54 +0100
commit1e38ca45cdec28a7a4041f2ec3bae716e6663cf4 (patch)
tree99ded2b23ddab7936f5e63bca2bc91c534bf4fe6 /engines/sci
parentbcc3fffc2d5f48adc3dc2618cba9b5fa5093ca62 (diff)
downloadscummvm-rg350-1e38ca45cdec28a7a4041f2ec3bae716e6663cf4.tar.gz
scummvm-rg350-1e38ca45cdec28a7a4041f2ec3bae716e6663cf4.tar.bz2
scummvm-rg350-1e38ca45cdec28a7a4041f2ec3bae716e6663cf4.zip
SCI: Fix speech in QfG IV on big endian platforms
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/sound/decoders/sol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/decoders/sol.cpp b/engines/sci/sound/decoders/sol.cpp
index 973ebf309c..121ffe400a 100644
--- a/engines/sci/sound/decoders/sol.cpp
+++ b/engines/sci/sound/decoders/sol.cpp
@@ -60,7 +60,7 @@ static void deDPCM16Channel(int16 *out, int16 &sample, uint8 delta) {
sample += tableDPCM16[delta];
}
sample = CLIP<int16>(sample, -32768, 32767);
- *out = TO_LE_16(sample);
+ *out = sample;
}
/**