Skip to content

feat(libReactNative.Modules.Vsh): implement RemotePlayGetConnectionStatus - #2017

Closed
ryyReid wants to merge 1 commit into
boykopovar:mainfrom
ryyReid:feat/reactnative-remoteplay-status
Closed

ryyReid wants to merge 1 commit into
boykopovar:mainfrom
ryyReid:feat/reactnative-remoteplay-status

Conversation

@ryyReid

@ryyReid ryyReid commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

What

Implements RemotePlayGetConnectionStatus in libReactNative.Modules.Vsh.

  • The export is already declared with the (userId, status) signature of sceRemoteplayGetConnectionStatus, and is assumed to wrap it; no source documents the wrapper. Recorded in TechnicalDebt.
  • Like sceRemoteplayGetConnectionStatus, it writes disconnected (0) for every user, as the host has no Remote Play session; a null status throws. shadPS4 also reports disconnected for the native call.
  • Adds libReactNative.Modules.Vsh/CMakeLists.txt (same pattern as libSceVoiceQoS) to register the module's first test, guest_react_native_vsh.

Tested

Windows 11, WinLibs GCC 15.2.0 r7 (x86_64-ucrt-posix-seh):

  • New guest_react_native_vsh: users -1, 0, 1 and 0x10000 report 0 over a filled output; a null status throws.
  • Full ctest: 489/489.
  • tools/check_conventions.py --base origin/main passes.

No title was tested.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes

🤖 Generated with Claude Code

…atus

Report every user as disconnected, as sceRemoteplayGetConnectionStatus
does: the host has no Remote Play session. A null status throws. The
wrapper is assumed to follow sceRemoteplayGetConnectionStatus, whose
signature it is declared with.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ryyReid
ryyReid force-pushed the feat/reactnative-remoteplay-status branch from 5780db2 to a79091d Compare October 9, 2026 05:44
@oneandonlydean

Copy link
Copy Markdown
Collaborator

Same as #1998: no title is shown to reach RemotePlayGetConnectionStatus on main.

ycbuzi pushed a commit to ycbuzi/AnyPS5 that referenced this pull request Oct 10, 2026
… RemotePlayGetConnectionStatus

Harvested from upstream (closed unmerged); library completion 2881/3258 -> 2882/3258.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011krDVCnnMQPaEFEqCDnKmA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants