summaryrefslogtreecommitdiff
path: root/src/dirs.cpp
diff options
context:
space:
mode:
authorVasily <danilka.pro@gmail.com>2015-12-01 03:56:36 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-01 04:02:25 +0300
commitc287f54adf5418ec6d11d4b5bb091040d00390dc (patch)
treebe788affdb8a2bc00765566d8348bed720aa0bdb /src/dirs.cpp
parent595c6fb41f4678ce6f331f91fc91abba0f263b6f (diff)
downloadplus-c287f54adf5418ec6d11d4b5bb091040d00390dc.tar.gz
plus-c287f54adf5418ec6d11d4b5bb091040d00390dc.tar.bz2
plus-c287f54adf5418ec6d11d4b5bb091040d00390dc.tar.xz
plus-c287f54adf5418ec6d11d4b5bb091040d00390dc.zip
Added NaCl data.zip PhysFS support
Diffstat (limited to 'src/dirs.cpp')
-rw-r--r--src/dirs.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/dirs.cpp b/src/dirs.cpp
index 4b374e86c..7dc53803b 100644
--- a/src/dirs.cpp
+++ b/src/dirs.cpp
@@ -184,11 +184,6 @@ void Dirs::extractDataDir()
Files::extractLocale();
#endif
#endif
-
-#if defined __native_client__
- const std::string dirName = _nacl_dir.append("/data");
- Files::extractZip("/http/data.zip", "data", dirName);
-#endif
}
void Dirs::mountDataDir()
@@ -231,7 +226,7 @@ void Dirs::mountDataDir()
#endif
#if defined __native_client__
- resourceManager->addToSearchPath(_nacl_dir.append("/data"), Append_false);
+ resourceManager->addToSearchPath("/http/data.zip", Append_false);
#endif
// Add branding/data to PhysFS search path