Qt has these in-built. No need for VFS.

This commit is contained in:
Sacha committed 2013-04-11 15:14:44 +10:00
1 parent 6772efbb1a
commit d789b2da36
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -183,6 +183,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co
std::string user_data_path = savegame_directory;
isMessagePending = false;
// We want this to be FIRST.
#ifndef USING_QT_UI
#ifdef BLACKBERRY
// Packed assets are included in app/native/ dir
VFSRegister("", new DirectoryAssetReader("app/native/assets/"));
@@ -202,6 +203,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co
VFSRegister("", new DirectoryAssetReader("assets/"));
#endif
VFSRegister("", new DirectoryAssetReader(user_data_path.c_str()));
#endif
host = new NativeHost();