(Android) Changed a variable for the private data directory

This commit is contained in:
Leon Styhre 2023-12-13 20:07:23 +01:00
parent 8571dfe7bf
commit 6bcbd70237
2 changed files with 2 additions and 2 deletions

View file

@ -740,7 +740,7 @@ int main(int argc, char* argv[])
LOG(LogDebug) << "Android storage state: " << SDL_AndroidGetExternalStorageState();
LOG(LogDebug) << "Android internal path: " << SDL_AndroidGetInternalStoragePath();
LOG(LogDebug) << "Android external path: " << SDL_AndroidGetExternalStoragePath();
Utils::Platform::Android::setDataDirectory();
Utils::Platform::Android::setPrivateDataDirectory();
{
std::string buildIdentifier {PROGRAM_VERSION_STRING};
buildIdentifier.append(" (r")

View file

@ -366,7 +366,7 @@ namespace Utils
std::string getProgramDataPath()
{
#if defined(__ANDROID__)
return AndroidVariables::sAndroidDataDirectory;
return AndroidVariables::sPrivateDataDirectory;
#elif defined(__unix__)
return installPrefix + "/share/emulationstation";
#else