aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMax Horn2009-02-21 19:01:32 +0000
committerMax Horn2009-02-21 19:01:32 +0000
commitc5e00f3de2f52db870b329fecdc22dd5149b6553 (patch)
treef0a4ccb841077665bfe8066442bbbf59c9125bd0 /engines/sci/engine
parent6bb73e3b685118cf6d906f985c25d766860767ad (diff)
downloadscummvm-rg350-c5e00f3de2f52db870b329fecdc22dd5149b6553.tar.gz
scummvm-rg350-c5e00f3de2f52db870b329fecdc22dd5149b6553.tar.bz2
scummvm-rg350-c5e00f3de2f52db870b329fecdc22dd5149b6553.zip
SCI: More cleanup
svn-id: r38725
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/seg_manager.h4
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;