aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/audio.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2015-12-29 01:44:11 +0100
committerMartin Kiewitz2015-12-29 01:44:11 +0100
commit0dd760724e37b70bfaade2c34c12e34fab4d4b71 (patch)
treef44a01f75f84d65db8e2b737742085db9f878899 /engines/sci/sound/audio.cpp
parent00e0d68a9f4b85ac66f757dd8603036b82a566e6 (diff)
downloadscummvm-rg350-0dd760724e37b70bfaade2c34c12e34fab4d4b71.tar.gz
scummvm-rg350-0dd760724e37b70bfaade2c34c12e34fab4d4b71.tar.bz2
scummvm-rg350-0dd760724e37b70bfaade2c34c12e34fab4d4b71.zip
SCI32: split up SCI2.1 into EARLY/MIDDLE/LATE
- Detection works via signatures (couldn't find a better way) - new kString subcalls were introduced SCI2.1 LATE - kString now has signatures and is split via subcall table - kString fix, so that KQ7 doesn't crash, when starting a chapter - Sci2StringFunctionType removed, because no longer needed
Diffstat (limited to 'engines/sci/sound/audio.cpp')
-rw-r--r--engines/sci/sound/audio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/audio.cpp b/engines/sci/sound/audio.cpp
index fb9a3f17b9..8c029cf502 100644
--- a/engines/sci/sound/audio.cpp
+++ b/engines/sci/sound/audio.cpp
@@ -217,7 +217,7 @@ static void deDPCM8Nibble(byte *soundBuf, int32 &s, byte b) {
if (b & 8) {
#ifdef ENABLE_SCI32
// SCI2.1 reverses the order of the table values here
- if (getSciVersion() >= SCI_VERSION_2_1)
+ if (getSciVersion() >= SCI_VERSION_2_1_EARLY)
s -= tableDPCM8[b & 7];
else
#endif