Files
AnyPS5/docs/dev/debt/libSceSharePlay.md
T
lakhantheboss ebba433323 fix(libSceSharePlay): return invalid args error for invalid prohibition in sceSharePlayProhibitController
Return SCE_SHARE_PLAY_ERROR_INVALID_ARGS (0x810E0001) instead of throwing APS5_INVALID_ARG_EX when an invalid prohibition value is passed to sceSharePlayProhibitController. Update regression test assertions in GuestSharePlay to verify the error code and record technical debt.
2026-10-23 14:19:28 +05:30

3.0 KiB

libSceSharePlay technical debt

Unknown function info

Functional

  • sceSharePlayInitialize and sceSharePlayTerminate - native heap validation and initialization state are recovered: a null heap ignores the supplied size, a supplied heap requires at least 0x1800 bytes, repeated initialization returns 0x810E0003 and termination before initialization returns 0x810E0004. The host does not allocate the native internal heap, connect to the Share Play service or reproduce its failures.
  • sceSharePlayGetCurrentConnectionInfoA - the native module confirms a 72-byte result, initial zero fields and both user IDs -1. Initialization is checked before the output pointer. The host retains this initial disconnected state; native event draining, cached updates and service reconnection are unimplemented.
  • sceSharePlayProhibitController - the argument is one byte, forwarded unchanged to the service. The host checks initialization, accepts 0/1 without a visitor controller, and returns 0x810E0001 (SCE_SHARE_PLAY_ERROR_INVALID_ARGS) for other values; dynamic service communication and controller state remain unimplemented.