Android gszMainDataDir = NULL

Using NULL as the main data dir will tell the SDL API (the current host file I/O) to fallthough and read from the .apk assets. This is currently desirable in every existing case.
This commit is contained in:
Nathan Fulton 2017-04-29 23:27:41 -04:00
parent 84b4e0f6ba
commit fd31d33274

View File

@ -30,7 +30,7 @@ static jmethodID getAssetManagerMethod;
namespace wi {
char gszMainDataDir[PATH_MAX]; // data file (htdata832.pdb, htsfx.pdb) dir
// char gszMainDataDir[PATH_MAX]; // main data is archived into Android assets
char gszTempDir[PATH_MAX]; // temp file directory
char gszMissionPacksDir[PATH_MAX]; // downloaded mission packs
char gszMissionPackInfosDir[PATH_MAX]; // info about downloaded mission packs
@ -149,7 +149,7 @@ void HostHelpers::Cleanup() {
}
const char *HostHelpers::GetMainDataDir() {
return gszMainDataDir;
return NULL;
}
const char *HostHelpers::GetTempDir() {