Android: Implement opening ISOs through a file picker and Storage Access Framework

Has issues with the recent list - fails to open during shutdown due to
no activity, there's a little race to fix.
This commit is contained in:
Henrik Rydgård committed 2021-02-27 13:49:20 +01:00
1 parent 35ad3106ff
commit 54c9e28444
10 files changed
+100 -13

No files matched your search

+4
View File
@@ -1183,6 +1183,10 @@ void MainScreen::sendMessage(const char *message, const char *value) {
if (!strcmp(message, "boot")) {
LaunchFile(screenManager(), std::string(value));
}
if (!strcmp(message, "browse_fileSelect")) {
INFO_LOG(SYSTEM, "Attempting to launch: '%s'", value);
LaunchFile(screenManager(), std::string(value));
}
if (!strcmp(message, "browse_folderSelect")) {
std::string filename;
#if PPSSPP_PLATFORM(ANDROID)