aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Persson2010-11-19 13:03:31 +0000
committerLars Persson2010-11-19 13:03:31 +0000
commitc7cf764890c2539c3b6fb824fd034cf182224898 (patch)
tree65b6199b05e91bbe1ec058eba7de70d94d061e44
parent5ecac66c6a489fb0bad44ffbdb9d6d2d225a4aa5 (diff)
downloadscummvm-rg350-c7cf764890c2539c3b6fb824fd034cf182224898.tar.gz
scummvm-rg350-c7cf764890c2539c3b6fb824fd034cf182224898.tar.bz2
scummvm-rg350-c7cf764890c2539c3b6fb824fd034cf182224898.zip
SCI: Only handle seg_type_string if ENABLE_SCI32 is defined
svn-id: r54376
-rw-r--r--engines/sci/engine/vm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index e417a53670..ac1e279cf6 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -640,7 +640,7 @@ static reg_t pointer_add(EngineState *s, reg_t base, int offset) {
case SEG_TYPE_DYNMEM:
base.offset += offset;
return base;
-
+#ifdef ENABLE_SCI32
case SEG_TYPE_STRING: {
// We need to copy over the string into a new one
// Make sure that the offset is positive
@@ -664,7 +664,7 @@ static reg_t pointer_add(EngineState *s, reg_t base, int offset) {
return newStringAddr;
}
-
+#endif
default:
// FIXME: Changed this to warning, because iceman does this during dancing with girl.
// Investigate why that is so and either fix the underlying issue or implement a more