Commit Graph
11 Commits
Author SHA1 Message Date
zaryabzip bc3a6f9e0f test(libSceNpMatching2): drop the check that accepted requests stay unsupported
The test covers the argument and context checks; it no longer requires an
unimplemented request to keep throwing.
2026-11-01 16:54:26 +05:00
zaryabzip 078b64c6fb feat(libSceNpMatching2): answer the request checks, local and signaling calls offline as firmware 13.42 does
Firmware 13.42, run natively, checks six requests' arguments before the
context; a request that passes them still throws, because the run could
not show how the module completes it. LeaveRoom finds no session, the
local getters report the context as not started, and the signaling calls
find no peer. The signaling port is stored and reported.
2026-10-31 04:30:59 +05:00
zaryabzip 472703ed70 test(libSceNpMatching2): call sceNpMatching2CreateContextA through its declared type
The test called sceNpMatching2CreateContextA through a function type
built on a local copy of the parameter struct, which clang's function
sanitizer reports as undefined behaviour. It now uses the public
NpMatching2CreateContextParameterA and the declared function type.
2026-10-31 04:30:29 +05:00
zaryabzip 6119a98969 fix(libSceNpMatching2): number A contexts with 0x100 added to their slot
Firmware 13.42, run natively, hands context 1 to sceNpMatching2CreateContext
and 258 (0x0102) to the sceNpMatching2CreateContextA after it, so A contexts
take the next of the same ten slots and carry 0x100 in their id.
2026-10-29 20:45:48 +05:00
zaryabzip ccc2c2c68d feat(libSceNpMatching2): create A contexts and register lobby callbacks offline 2026-10-29 04:11:43 +05:00
Omar Elmahy 6f859547b5 test(libSceNpMatching2): cover null parameter initialization and post-terminate lifecycle 2026-10-28 12:55:53 +00:00
Dean a278151901 Merge pull request #12013 from simnJS/feat/npmatching2-signaling-status
feat(libSceNpMatching2): answer signaling connection status and context start abort offline
2026-10-28 22:53:59 +13:00
simnJS ad9a68f9ba feat(libSceNpMatching2): answer signaling connection status and context start abort offline
sceNpMatching2SignalingGetConnectionStatus reports every member inactive
for a known context, since no room is joined offline, and leaves the peer
address and port untouched; a null status pointer throws.
sceNpMatching2AbortContextStart returns NOT_INITIALIZED before
initialization and 0 afterwards. Checks follow shadPS4, with RPCS3's
differences recorded in the technical debt entry.
2026-10-27 17:57:03 +01:00
PrivacyOnion 5be476d442 test(libSceNpMatching2): cover null argument validation in GuestNpMatching2Offline
Signed-off-by: PrivacyOnion <[email protected]>
2026-10-27 13:23:42 +01:00
boykopovar fdf9ca7574 fix(sdk): reconcile public headers after rebase 2026-10-24 23:17:47 +03:00
Federico Marras 4bb91851bb feat(libSceNpMatching2): model contexts offline
The context calls, the callback registrations and
SetDefaultRequestOptParam threw. They now follow shadPS4's checks and
context ids, ContextStart returns SCE_NET_ERROR_RESOLVER_ETIMEDOUT, the
answer shadPS4 records for a console without internet access, and
Terminate releases the contexts.
2026-10-22 22:55:51 +02:00