aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/scriptdebug.cpp
diff options
context:
space:
mode:
authorMax Horn2009-09-17 00:45:12 +0000
committerMax Horn2009-09-17 00:45:12 +0000
commit10f898c90eef6c63995d21c2150f022ae012ea4d (patch)
treead33cf3914f3b81b2c64744942ce46d47d1c9bbf /engines/sci/engine/scriptdebug.cpp
parent1f0e8ef4705ba242e66d5f8c0c20b2c21078bdf7 (diff)
downloadscummvm-rg350-10f898c90eef6c63995d21c2150f022ae012ea4d.tar.gz
scummvm-rg350-10f898c90eef6c63995d21c2150f022ae012ea4d.tar.bz2
scummvm-rg350-10f898c90eef6c63995d21c2150f022ae012ea4d.zip
SCI: Rename MemObject -> SegmentObj
svn-id: r44130
Diffstat (limited to 'engines/sci/engine/scriptdebug.cpp')
-rw-r--r--engines/sci/engine/scriptdebug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp
index 4f4f23f1fc..38879a48ae 100644
--- a/engines/sci/engine/scriptdebug.cpp
+++ b/engines/sci/engine/scriptdebug.cpp
@@ -99,7 +99,7 @@ int propertyOffsetToId(SegManager *segMan, int prop_ofs, reg_t objp) {
// Disassembles one command from the heap, returns address of next command or 0 if a ret was encountered.
reg_t disassemble(EngineState *s, reg_t pos, int print_bw_tag, int print_bytecode) {
- MemObject *mobj = GET_SEGMENT(*s->segMan, pos.segment, MEM_OBJ_SCRIPT);
+ SegmentObj *mobj = GET_SEGMENT(*s->segMan, pos.segment, SEG_TYPE_SCRIPT);
Script *script_entity = NULL;
byte *scr;
int scr_size;
@@ -360,7 +360,7 @@ void script_debug(EngineState *s, bool bp) {
#endif
if (scriptState.seeking && !bp) { // Are we looking for something special?
- MemObject *mobj = GET_SEGMENT(*s->segMan, scriptState.xs->addr.pc.segment, MEM_OBJ_SCRIPT);
+ SegmentObj *mobj = GET_SEGMENT(*s->segMan, scriptState.xs->addr.pc.segment, SEG_TYPE_SCRIPT);
if (mobj) {
Script *scr = (Script *)mobj;