Merge pull request #22511 from hrydgard/android-inputbox-fixes

Claude code review: Android inputbox fixes
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2026-10-12 13:20:25 +02:00
commit 8d8009840e
11 files changed
+247 -90

No files matched your search

+11
View File
@@ -1353,6 +1353,11 @@ bool UnpackUpdaterFromMountedDisc(const Path &outputDir, const PSARUnpackOptions
return false;
}
// Write a nomedia file to avoid Android indexing the files.
#if PPSSPP_PLATFORM(ANDROID)
File::CreateEmptyFile(outputDir / ".nomedia");
#endif
INFO_LOG(Log::Loader, "Found a %d byte updater on the mounted disc", (int)psar.size());
return UnpackPSAR(psar.data(), psar.size(), outputDir, options, stats, error);
}
@@ -1488,6 +1493,12 @@ bool AutoInstallFirmwareFromDisc() {
}
const Path nandRoot = GetSysDirectory(DIRECTORY_NAND);
// Write a nomedia file to avoid Android indexing the files.
#if PPSSPP_PLATFORM(ANDROID)
File::CreateEmptyFile(nandRoot / ".nomedia");
#endif
InstalledFirmwareInfo installed;
ReadInstalledFirmwareInfo(nandRoot, &installed, false);