mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-12 03:36:42 +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:
|
case SEG_TYPE_DYNMEM:
|
||||||
base.offset += offset;
|
base.offset += offset;
|
||||||
return base;
|
return base;
|
||||||
|
#ifdef ENABLE_SCI32
|
||||||
case SEG_TYPE_STRING: {
|
case SEG_TYPE_STRING: {
|
||||||
// We need to copy over the string into a new one
|
// We need to copy over the string into a new one
|
||||||
// Make sure that the offset is positive
|
// 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;
|
return newStringAddr;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
// FIXME: Changed this to warning, because iceman does this during dancing with girl.
|
// 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
|
// Investigate why that is so and either fix the underlying issue or implement a more
|
||||||
|
Loading…
x
Reference in New Issue
Block a user