diff options
Diffstat (limited to 'engines/m4/compression.h')
-rw-r--r-- | engines/m4/compression.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/m4/compression.h b/engines/m4/compression.h index 00e3d1f927..93c7d9af9e 100644 --- a/engines/m4/compression.h +++ b/engines/m4/compression.h @@ -58,9 +58,7 @@ public: int getCount() const { return _count; } MadsPackEntry &getItem(int index) const { return _items[index]; } MadsPackEntry &operator[](int index) const { return _items[index]; } - Common::MemoryReadStream *getItemStream(int index) { - return new Common::MemoryReadStream(_items[index].data, _items[index].size, DisposeAfterUse::NO); - } + Common::SeekableReadStream *getItemStream(int index); int getDataOffset() const { return _dataOffset; } }; |