fix: RPCS3 opens from the emulator rail again (#1191)

RPCS3's AppImage could not start: its own runtime unpacks the image with
a dwarfsextract it runs from a memfd, which Android refuses (EACCES), and
it has no other way to run it. Emulator AppImages for arm64 now start
through the shipped uruntime, which falls back to a file in /tmp.

RPCS3 then stopped with "Null object" in utils::shm (errno 13): it reads
/proc/sys/vm/overcommit_memory to pick memfd for guest memory, and apps
cannot read it. The guest now gets the kernel's default policy (0) there
when the real file is unreadable, like file-max.
This commit is contained in:
MaxsTechReview authored and GitHub committed 2026-10-20 08:52:31 -04:00
1 parent ba582dea65
commit aeb0fa57e3
5 files changed
+101 -4

No files matched your search

@@ -331,6 +331,10 @@ case $mode in
*.appimage)
export APPIMAGE_EXTRACT_AND_RUN=1
chmod +x "$target" 2>/dev/null
if [ ${#fex[@]} -eq 0 ] && [ -x /usr/local/lib/droiddeck/uruntime ]; then
export TARGET_APPIMAGE=$target
run_program /usr/local/lib/droiddeck/uruntime "$@"
fi
run_program "${fex[@]}" "$target" "$@"
;;
*.sh)