summaryrefslogtreecommitdiff
path: root/src/fs/files.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-22 19:00:05 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-22 20:01:44 +0300
commit79d620a4b41e877d7b50f1537f135c85ac9ddc73 (patch)
treee6035ea917d2e46810adb3361533b2c3e36fda33 /src/fs/files.cpp
parent7ca25eb87966f805265cd22086af8c113b7af822 (diff)
downloadmanaverse-79d620a4b41e877d7b50f1537f135c85ac9ddc73.tar.gz
manaverse-79d620a4b41e877d7b50f1537f135c85ac9ddc73.tar.bz2
manaverse-79d620a4b41e877d7b50f1537f135c85ac9ddc73.tar.xz
manaverse-79d620a4b41e877d7b50f1537f135c85ac9ddc73.zip
Dont unpack data.zip on Android.
Diffstat (limited to 'src/fs/files.cpp')
-rw-r--r--src/fs/files.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/fs/files.cpp b/src/fs/files.cpp
index a6b8d0d4d..7cefef985 100644
--- a/src/fs/files.cpp
+++ b/src/fs/files.cpp
@@ -123,16 +123,6 @@ void Files::copyVirtFsDir(const std::string &restrict inDir,
VirtFs::freeList(files);
}
-void Files::extractZip(const std::string &restrict zipName,
- const std::string &restrict inDir,
- const std::string &restrict outDir)
-{
- VirtFs::mountZip(zipName, Append_false);
- copyVirtFsDir(inDir, outDir);
- VirtFs::unmountZip(zipName);
- remove(zipName.c_str());
-}
-
#endif // ANDROID __native_client__
int Files::renameFile(const std::string &restrict srcName,