diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-01 00:09:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-01 00:09:28 +0300 |
commit | af8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a (patch) | |
tree | 0074b8eb5fea7f48f44dd81bc5089316e81aafd0 /src/fs/virtfszip.cpp | |
parent | db31c2f832dd4067e4670dd469fe3b696188576b (diff) | |
download | manaverse-af8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a.tar.gz manaverse-af8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a.tar.bz2 manaverse-af8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a.tar.xz manaverse-af8edd3f2f53cb2ece9a7b1f6a62bd5e7ce57a9a.zip |
Impliment some functions in VirtFs with physfs disabled.
Diffstat (limited to 'src/fs/virtfszip.cpp')
-rw-r--r-- | src/fs/virtfszip.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/fs/virtfszip.cpp b/src/fs/virtfszip.cpp index dc8223b6f..538eb7513 100644 --- a/src/fs/virtfszip.cpp +++ b/src/fs/virtfszip.cpp @@ -261,7 +261,14 @@ namespace VirtFsZip return false; } - VirtList *enumerateFiles(std::string dirName) + VirtList *enumerateFiles(const std::string &dirName) + { + VirtList *const list = new VirtList; + return enumerateFiles(dirName, list); + } + + VirtList *enumerateFiles(std::string dirName, + VirtList *const list) { prepareFsPath(dirName); VirtList *const list = new VirtList; |