mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 16:23:35 +01:00
Start experimenting with DocumentsContract (the thing DocumentFile wraps)
wip Some progress towards making the file browser work with DOCUMENT_TREE More directory browsing progress More Scoped Storage hackery. Can now browse to a folder and use PPSSPP's game browser to load ISOs from it. Remove the defunct fdopendir approach. Buildfixes.
This commit is contained in:
1 parent
5030f1f719
commit
87a25fd230
13 files changed
+152
-55
No files matched your search
+4
-4
@@ -482,13 +482,13 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||
host = new NativeHost();
|
||||
}
|
||||
#endif
|
||||
if (System_GetPropertyBool(SYSPROP_ANDROID_SCOPED_STORAGE)) {
|
||||
|
||||
g_Config.externalDirectory = Path(external_dir);
|
||||
#if PPSSPP_PLATFORM(ANDROID)
|
||||
if (System_GetPropertyBool(SYSPROP_ANDROID_SCOPED_STORAGE)) {
|
||||
g_Config.externalDirectory = Path(g_extFilesDir);
|
||||
#endif
|
||||
} else {
|
||||
g_Config.externalDirectory = Path(external_dir);
|
||||
}
|
||||
#endif
|
||||
|
||||
g_Config.defaultCurrentDirectory = Path("/");
|
||||
g_Config.internalDataDirectory = Path(savegame_dir);
|
||||
|
||||
Reference in new issue
Block a user