From 640eb1f799f731e9af54a8f7abd85580eb0a68e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 5 May 2024 14:13:10 +0200 Subject: [PATCH] Limit file browsing in app store builds --- ios/main.mm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ios/main.mm b/ios/main.mm index 4c1151185a..3536464887 100644 --- a/ios/main.mm +++ b/ios/main.mm @@ -354,7 +354,11 @@ bool System_GetPropertyBool(SystemProperty prop) { case SYSPROP_CAN_JIT: return g_jitAvailable; case SYSPROP_LIMITED_FILE_BROWSING: +#if PPSSPP_PLATFORM(IOS_APP_STORE) + return true; +#else return false; // But will return true in app store builds. +#endif #ifndef HTTPS_NOT_AVAILABLE case SYSPROP_SUPPORTS_HTTPS: return true;