aboutsummaryrefslogtreecommitdiff
path: root/common/unzip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/unzip.cpp')
-rw-r--r--common/unzip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/unzip.cpp b/common/unzip.cpp
index abb2096f4a..25e26ec24c 100644
--- a/common/unzip.cpp
+++ b/common/unzip.cpp
@@ -1381,7 +1381,7 @@ ZipArchive::ZipArchive(const Common::String &name) {
}
ZipArchive::ZipArchive(const Common::FSNode &node) {
- SeekableReadStream *stream = node.openForReading();
+ SeekableReadStream *stream = node.createReadStream();
_zipFile = unzOpen(stream);
}