Commit Graph
14 Commits
Author SHA1 Message Date
Adrià 2589561c0e Merge pull request #11124 from EagleBearerYS/feat/sourced-answers-np-bt-dialog
feat: answer the NpWebApi2 multipart calls and sceBluetoothHidParamInitialize from their sources
2026-10-27 09:04:33 +01:00
Yunus Shaikh 92d5f20c10 feat(libSceNpWebApi2): validate and answer the multipart request calls 2026-10-25 15:24:49 +00:00
Alexandre Figueiredo 8b92ee82f2 fix(libSceNpWebApi2): declare the arguments of sceNpWebApi2PushEventRegisterPushContextCallback 2026-10-25 01:51:04 +01:00
boykopovar bffa030a16 fix(npwebapi2): track push handles and restore validation errors 2026-10-21 21:51:30 +03:00
Adrià FranchandClaude c5e861b868 docs(libSceNpWebApi2): drop title id from AddWebTraceTag debt line
Co-Authored-By: Claude <[email protected]>
2026-10-21 12:45:44 +02:00
jagrat Singh b9cdbf932d feat(libSceNpWebApi2): implement sceNpWebApi2AddWebTraceTag
Implement sceNpWebApi2AddWebTraceTag with the (int64_t request_id, const char* value) signature from shadPS4. Validates that value is not null, accepts any request id, and acts as a silent stub matching the other offline request functions.
2026-10-21 12:45:40 +02:00
orezraeyandClaude Opus 5.5 a9a0c05af3 docs(libSceNpWebApi2): name the initializer that sets the reported pool size
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 16:48:55 -03:00
orezraeyandClaude Opus 5.5 812958b096 feat(libSceNpWebApi2): implement the internal and presence initializers
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 10:27:47 -03:00
juanpimg 2f0ed638dc feat(prx): declare the missing PS5 3.20 system exports
AnyPS5 resolves a title's imports by NID, so a title that imports a system
function no library provides fails to load with an unresolved import. The
PS5 3.20 export inventory lists 193 such exports across 37 PS5 system
libraries AnyPS5 implements but does not provide.

Declare them as throwing stubs so those titles load and reach their next
blocker. Each declaration calls NotImplemented_nid_no_patch and returns 0;
none of them implements the function. Declarations with a credible
prototype use it and cite the source with a pinned commit, and the rest
are declared without parameters, which resolves the import without making
an ABI claim. The technical-debt files record the limitation per library.

libSceMbus and libSceSystemService are left out because pull request #7821
declares them. libSceAgc is left out because its exports are versioned, so
the 3.20 NID names a different symbol from the one AnyPS5 ships.
libSceAvPlayer.native is left out because it compiles libSceAvPlayer's
Export.cpp.

Names and NIDs come from the PS5 3.20 export inventory at
https://github.com/DNNDHH/PS5-3.20_Libs/tree/b2a77c09cd71c01f34c790cfbe98c751a13262ad
2026-10-19 23:16:55 +02:00
Kurenaiiiii 36ffe08690 feat(libSceNpWebApi2): accept PushEventAbortHandle for known contexts 2026-10-14 22:11:11 +05:30
alfalfa-starandClaude Opus 5.5 7505a8cf87 docs(npwebapi2): say why sceNpWebApi2SetRequestTimeout accepts any request id
shadPS4 looks the request up through its library and user contexts and
returns the matching NOT_FOUND error. This library keeps no request
table: CreateRequest hands out counter values and the other request calls
accept any id, so the checks wait for request tracking across all of
them. The entry moves to Silent stubs, as main's conventions check now
requires.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-14 07:24:03 +02:00
alfalfa-starandClaude Opus 5.5 c867b89a24 feat(npwebapi2): implement sceNpWebApi2SetRequestTimeout
The timeout setter takes (request id, timeout) and succeeds without
checking the request, like the other request setters: no request reaches
a service, so no timeout can expire. PPSA14632 imports it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-14 07:23:43 +02:00
8a7e1195d4 feat(exports): export the calls PPSA01317 imports
Gran Turismo 7 (PPSA01317) fails to load on unresolved imports and on
two needed libraries that AnyPS5 does not build (#4782).

- sceAppContentDownloadDataFormat empties /download0, as
  sceAppContentTemporaryDataFormat does for /temp0.
- sceNpAuthSetTimeout returns REQUEST_NOT_FOUND for an unknown request
  like the other request calls, and OK otherwise; no request reaches the
  network the timeouts would bound.
- sceNpWebApi2PushEventSetHandleTimeout throws for an unknown library
  context, like sceNpWebApi2GetMemoryPoolStats, and returns OK
  otherwise; push event handles are not tracked and nothing waits on
  one offline.
- sceSslDisableVerifyOption, sceSslGetAlpnSelected, sceSslSetAlpn,
  sceSslSetMinSslVersion, sceAudioOutDeviceIdOpen and the unnamed
  libScePsml NIDs xNZM9Y5lf-M and lcZD9tJraAw are declared without
  parameters and throw; their signatures are unknown.
- libSceUsbStorage and libSceUsbStorageDialog exist with no exports,
  like libSceXml: the title lists both as needed but imports nothing
  from them.

Each assumption is recorded in the library's technical debt file.

Co-authored-by: dawid-swiecicki <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-13 01:11:29 +02:00
Adrià FranchandClaude 342a8c4590 docs(debt): move library entries to one file per library
Co-Authored-By: Claude <[email protected]>
2026-10-12 20:38:29 +02:00