diff options
author | Filippos Karapetis | 2010-06-26 23:48:27 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-26 23:48:27 +0000 |
commit | 7a14846bdd99dc81a70baa43836282af47205e16 (patch) | |
tree | cbcf85e0b859d76c672bee99ef472302d790a31c /engines/sci/engine/segment.cpp | |
parent | 3cf0114164aa07cdd2ae557ea49cf59a31ea5f67 (diff) | |
download | scummvm-rg350-7a14846bdd99dc81a70baa43836282af47205e16.tar.gz scummvm-rg350-7a14846bdd99dc81a70baa43836282af47205e16.tar.bz2 scummvm-rg350-7a14846bdd99dc81a70baa43836282af47205e16.zip |
Removed the misleading getHeap() function (only valid for SCI0-SCI1), plus removed some unused defines
svn-id: r50358
Diffstat (limited to 'engines/sci/engine/segment.cpp')
-rw-r--r-- | engines/sci/engine/segment.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/sci/engine/segment.cpp b/engines/sci/engine/segment.cpp index 0a39d950b0..4524241110 100644 --- a/engines/sci/engine/segment.cpp +++ b/engines/sci/engine/segment.cpp @@ -417,12 +417,6 @@ void Script::mcpyInOut(int dst, const void *src, size_t n) { } } -int16 Script::getHeap(uint16 offset) const { - assert(offset + 1 < (int)_bufSize); - return READ_SCI11ENDIAN_UINT16(_buf + offset); -// return (_buf[offset] | (_buf[offset+1]) << 8); -} - SegmentRef SegmentObj::dereference(reg_t pointer) { error("Error: Trying to dereference pointer %04x:%04x to inappropriate segment", PRINT_REG(pointer)); |