mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
SCI: Only handle seg_type_string if ENABLE_SCI32 is defined
svn-id: r54376
This commit is contained in:
parent
5ecac66c6a
commit
c7cf764890
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user