SCI: Started adding methods to MemObject subclasses: constructors, destructors, dereference() (and currently commented out refs to Common::Serializable
svn-id: r40295
This commit is contained in:
parent
d960c1e2a5
commit
a41069d69b
7 changed files with 231 additions and 152 deletions
|
@ -722,7 +722,7 @@ int determine_reg_type(EngineState *s, reg_t reg, int allow_invalid) {
|
|||
return KSIG_NODE | KSIG_INVALID;
|
||||
|
||||
case MEM_OBJ_DYNMEM:
|
||||
if (allow_invalid || reg.offset < (*(DynMem *)mobj).size)
|
||||
if (allow_invalid || reg.offset < (*(DynMem *)mobj)._size)
|
||||
return KSIG_REF;
|
||||
else
|
||||
return KSIG_REF | KSIG_INVALID;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue