summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/zipentry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/virtfs/zipentry.cpp')
-rw-r--r--src/fs/virtfs/zipentry.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/virtfs/zipentry.cpp b/src/fs/virtfs/zipentry.cpp
index e23055db9..d8440833b 100644
--- a/src/fs/virtfs/zipentry.cpp
+++ b/src/fs/virtfs/zipentry.cpp
@@ -30,12 +30,14 @@ namespace VirtFs
{
ZipEntry::ZipEntry(const std::string &restrict archiveName,
+ const std::string &subDir0,
FsFuncs *restrict const funcs0) :
FsEntry(FsEntryType::Zip, funcs0),
mHeaders(),
mDirs()
{
root = archiveName;
+ subDir = subDir0;
}
ZipEntry::~ZipEntry()