aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/compression.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4/compression.h')
-rw-r--r--engines/m4/compression.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/compression.h b/engines/m4/compression.h
index b00e75995b..938c14dd81 100644
--- a/engines/m4/compression.h
+++ b/engines/m4/compression.h
@@ -59,7 +59,7 @@ public:
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, false);
+ return new Common::MemoryReadStream(_items[index].data, _items[index].size, Common::DisposeAfterUse::NO);
}
int getDataOffset() const { return _dataOffset; }
};