fix(libSceSharePlay): export sceSharePlayGetCurrentConnectionInfoA with no Share Play session #3341
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3341"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by reyani-dev on 2026-10-11T08:14:25Z.
What
Carries the Share Play fix from #3210 (both authors are under the intake threshold). Both commits are unchanged and keep their authors:
691b0d50(@xXPBSXx) exportssceSharePlayGetCurrentConnectionInfoA;027ebf97(@Silverash-i8) fills its result with the layout and error code from two references.Resident Evil 4 (PPSA07411) stops on
sceSharePlayGetCurrentConnectionInfoA, whichmaindoesn't export (xXPBSXx's report in #3144). With these commits, xXPBSXx's RE4 run in #3210 shows 0 absent imports and no longer stops on it.SharePlayConnectionInfoAisstatus,mode, twoNpOnlineIds, two 64-bit account IDs and two user IDs (72 bytes,hostAccountIdat 48,hostUserIdat 64, pinned bystatic_assert). KytyPS5'slibNet.cppand fpPS4'sps4_libsceshareplay.pasagree on it. The library keeps no session, so the call reports none: status 0 (DORMANT), mode 0, empty online IDs, account IDs 0 and both user IDs -1. A null pointer returnsSCE_SHARE_PLAY_ERROR_INVALID_ARGS(0x810E0001), as both references do.guest_share_playchecks every field and the null case. The TechnicalDebt entry records that console behaviour during a session is unverified.Closes #3210.
Tested
Windows 11 (10.0.26200), WinLibs GCC 15.2.0 r7, Release,
BUILD_TESTING=ON, onmain:guest_share_playpasses 3/3. WithlibSceSharePlay/Export.cppreverted tomainit doesn't link.ctest -E "^agc_|video_out": 428/428.check_conventions.pypasses.pr_overlap.pyreports only #3315 and #3337, which append other lines at the end ofTechnicalDebt.md.I don't have the title; the RE4 result is xXPBSXx's from #3210.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T08:14:47Z.
Progress report (
df09e33→ 0d2eeb8)📈 System libraries: 85.57% (+0.01%, +1 implemented functions)
✅ 1 implemented
sceSharePlayGetCurrentConnectionInfoAImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T08:49:47Z.
Checked on Linux: build + ctest of libs (
guest_share_playpasses, 16/16 scoped); without the change the test doesn't compile. Layout (72 bytes), null →0x810E0001and the zeroed result match fpPS4 and KytyPS5; the user-ID difference is recorded in TechnicalDebt. Conventions/intake green; merging.