SCI: Added TODO: Merge SegInterface and MemObject? And some cleanup
svn-id: r39485
This commit is contained in:
parent
3c23ba7d73
commit
95c58e76d6
4 changed files with 25 additions and 6 deletions
|
@ -568,8 +568,8 @@ void SegManager::sm_put_heap(reg_t reg, int16 value) {
|
|||
#endif
|
||||
|
||||
// return the seg if script_id is valid and in the map, else -1
|
||||
int SegManager::segGet(int script_id) {
|
||||
return id_seg_map->checkKey(script_id, false);
|
||||
int SegManager::segGet(int script_id) const {
|
||||
return id_seg_map->lookupKey(script_id);
|
||||
}
|
||||
|
||||
// validate the seg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue