Files
AnyPS5/docs/dev/debt/libSceSharePlay.md
T

3.4 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.
  • sceSharePlayGetCurrentConnectionInfo - the 56-byte layout without account IDs is from shadPS4's shareplay.h; the checks and values copy sceSharePlayGetCurrentConnectionInfoA, while shadPS4 leaves both user IDs 0 and checks nothing. Not measured on a console.
  • 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.