mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2026-04-19 13:51:27 -06:00
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:
parent
84b4e0f6ba
commit
fd31d33274
@ -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() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user