aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorsluicebox2019-03-27 12:54:11 -0700
committersluicebox2019-03-27 12:54:11 -0700
commit15700fc001932ffdc54787e53d8d0a72cfabed4e (patch)
treec1c10e9b69c2645ac2dbca109482a1cf1fc179a1 /engines
parenta1d950945f10801a6c23957305a625f846838e6e (diff)
downloadscummvm-rg350-15700fc001932ffdc54787e53d8d0a72cfabed4e.tar.gz
scummvm-rg350-15700fc001932ffdc54787e53d8d0a72cfabed4e.tar.bz2
scummvm-rg350-15700fc001932ffdc54787e53d8d0a72cfabed4e.zip
SCI: Exclude GK1/QFG4 sync when SCI32 disabled
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/guest_additions.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/guest_additions.cpp b/engines/sci/engine/guest_additions.cpp
index 893aaef639..f07fb4ce5f 100644
--- a/engines/sci/engine/guest_additions.cpp
+++ b/engines/sci/engine/guest_additions.cpp
@@ -839,6 +839,7 @@ void GuestAdditions::syncMessageTypeFromScummVMUsingDefaultStrategy() const {
_state->variables[VAR_GLOBAL][kGlobalVarMessageType] = make_reg(0, value);
}
+#ifdef ENABLE_SCI32
if (g_sci->getGameId() == GID_GK1 && value == kMessageTypeSubtitles) {
// The narrator speech needs to be forced off if speech has been
// disabled in ScummVM, but otherwise the narrator toggle should just
@@ -859,6 +860,7 @@ void GuestAdditions::syncMessageTypeFromScummVMUsingDefaultStrategy() const {
_state->variables[VAR_GLOBAL][globalNumber] &= (int16)~0x8000;
}
}
+#endif
}
#ifdef ENABLE_SCI32