Commit Graph
4 Commits
Author SHA1 Message Date
zaryabzip 8b44d36b83 test(libSceNpWebApi): call the new exports through their declared types
The test called sceNpWebApiIntInitialize and sceNpWebApiIntCreateRequest
through function types built on local copies of the argument structs,
which clang's function sanitizer reports as undefined behaviour. It now
uses the public structs from Api.hpp and the declared function types.
2026-10-31 04:28:01 +05:00
zaryabzip 6ca3d01f3e feat(libSceNpWebApi): throw on internal request arguments with a field set
sceNpWebApiIntCreateRequest's internal arguments are three pointers.
shadPS4 accepts them only when all three are null, so a set field now
throws after the user context check instead of creating a request.
2026-10-31 04:04:45 +05:00
zaryabzip 41fd24dcca feat(libSceNpWebApi): create internal requests like sceNpWebApiCreateRequest
shadPS4's sceNpWebApiIntCreateRequest checks the group, path and a method
up to PATCH, then the content parameter, before creating the request.
2026-10-31 03:51:30 +05:00
zaryabzip b31e7f1b35 feat(libSceNpWebApi): create presence, VSH and internal contexts and accept notification callbacks offline
shadPS4 creates the same library context from sceNpWebApiInitializeForPresence,
sceNpWebApiVshInitialize and sceNpWebApiIntInitialize, and checks the
notification callback and its user context before storing it.
2026-10-31 03:51:30 +05:00