From ab0df93de44f392cdf230c5cf4b51cb9a2efedef Mon Sep 17 00:00:00 2001 From: Starlightbotanist Date: Tue, 28 Jul 2026 15:52:22 -0400 Subject: [PATCH 1/2] Android: Disable native heap pointer tagging for core compatibility Targeting Android API 30 or higher enables native heap pointer tagging for the RetroArch process, causing Flycast's ARM64 native code to crash when launching content. Target SDK 29 works, while targets 30 and 36 crash. Setting allowNativeHeapPointerTagging to false resolves the crash at both targets. Libretro cores execute inside the RetroArch process, so apply Android's documented compatibility opt-out while affected native core code is updated for tagged-pointer compatibility. --- pkg/android/phoenix/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/android/phoenix/AndroidManifest.xml b/pkg/android/phoenix/AndroidManifest.xml index 512a404331b..37bb4d39e3b 100644 --- a/pkg/android/phoenix/AndroidManifest.xml +++ b/pkg/android/phoenix/AndroidManifest.xml @@ -16,7 +16,7 @@ - Date: Tue, 28 Jul 2026 16:17:06 -0400 Subject: [PATCH 2/2] Fix formatting of allowNativeHeapPointerTagging attribute --- pkg/android/phoenix/AndroidManifest.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/android/phoenix/AndroidManifest.xml b/pkg/android/phoenix/AndroidManifest.xml index 37bb4d39e3b..ca8b446e1c7 100644 --- a/pkg/android/phoenix/AndroidManifest.xml +++ b/pkg/android/phoenix/AndroidManifest.xml @@ -16,7 +16,8 @@ -