SCI: Only handle seg_type_string if ENABLE_SCI32 is defined

svn-id: r54376
This commit is contained in:
Lars Persson 2010-11-19 13:03:31 +00:00
parent 5ecac66c6a
commit c7cf764890

View File

@ -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