summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/zipentry.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-15 20:10:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-15 20:10:42 +0300
commit3d4ec0e043e9a683257757d3e84bec6798ff210d (patch)
treee4d7c597c49fa0f64682819ecb023339f85b1326 /src/fs/virtfs/zipentry.cpp
parentf237697b267f10dc8b2b6b45f1f539c58f3ff435 (diff)
downloadplus-3d4ec0e043e9a683257757d3e84bec6798ff210d.tar.gz
plus-3d4ec0e043e9a683257757d3e84bec6798ff210d.tar.bz2
plus-3d4ec0e043e9a683257757d3e84bec6798ff210d.tar.xz
plus-3d4ec0e043e9a683257757d3e84bec6798ff210d.zip
Add subdir parameter into mountDir functions.
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()