diff options
Diffstat (limited to 'engines/sci/engine/seg_manager.h')
-rw-r--r-- | engines/sci/engine/seg_manager.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/engine/seg_manager.h b/engines/sci/engine/seg_manager.h index 457f74f356..e75ec76277 100644 --- a/engines/sci/engine/seg_manager.h +++ b/engines/sci/engine/seg_manager.h @@ -71,8 +71,6 @@ typedef enum { typedef int mem_obj_enum; -struct _mem_obj; - #define GET_SEGMENT(mgr, index, rtype) ((index) > 0 && (mgr).heap_size > index) ? \ (((mgr).heap[index] && (mgr).heap[index]->type == rtype)? (mgr).heap[index] : NULL) : NULL @@ -85,7 +83,7 @@ struct _mem_obj; struct SegManager { int_hash_map_t *id_seg_map; // id - script id; seg - index of heap - struct _mem_obj **heap; + mem_obj_t **heap; int heap_size; // size of the heap int reserved_id; int exports_wide; |