From 79d620a4b41e877d7b50f1537f135c85ac9ddc73 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 22 May 2017 19:00:05 +0300 Subject: Dont unpack data.zip on Android. --- src/dirs.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/dirs.cpp') diff --git a/src/dirs.cpp b/src/dirs.cpp index 878bd62f8..6f867ba91 100644 --- a/src/dirs.cpp +++ b/src/dirs.cpp @@ -179,7 +179,9 @@ void Dirs::extractDataDir() const std::string zipName = pathJoin(getenv("APPDIR"), "data.zip"); const std::string dirName = pathJoin(getenv("APPDIR"), "data"); - Files::extractZip(zipName, "data", dirName); + VirtFs::mountZip2(zipName, + "data", + Append_false); Files::extractLocale(); #endif // defined(ANDROID) && defined(USE_SDL2) } -- cgit v1.2.3-70-g09d2