Android: Enable "Copy deep link" on the game screen, copying the content URI

PPSSPP has access to the URI, so a frontend or adb can launch the game with it,
which isn't true of a plain path on modern Android.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Henrik RydgårdandClaude Opus 5.5 committed 2026-10-20 12:42:07 +02:00
1 parent df76bae5dc
commit 55f02684f5
3 files changed
+8 -1

No files matched your search

+5
View File
@@ -63,6 +63,11 @@
// This is in an objective-C file.
#if PPSSPP_PLATFORM(IOS)
void copyDeepLinkForPath(std::string_view filePath);
#elif PPSSPP_PLATFORM(ANDROID)
// The path is a content URI that PPSSPP has access to, so frontends and adb can launch it.
void copyDeepLinkForPath(std::string_view filePath) {
System_CopyStringToClipboard(std::string(filePath));
}
#else
// dummy
void copyDeepLinkForPath(std::string_view) {}