aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/container.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/macventure/container.h')
-rw-r--r--engines/macventure/container.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/macventure/container.h b/engines/macventure/container.h
index 1abab1c6d0..6979afbb4e 100644
--- a/engines/macventure/container.h
+++ b/engines/macventure/container.h
@@ -196,7 +196,8 @@ public:
}
- Common::SeekableReadStream *res = _res->readStream(getItemByteSize(id) * 2);
+ // HACK Should Limit the size of the stream returned
+ Common::SeekableReadStream *res = _res->readStream(_res->size() - _res->pos() + 1);
return res;
}