Commit Graph
4 Commits
Author SHA1 Message Date
hypermistandClaude Opus 5.5 f2bdca611f feat(libSceScreenShot): track capture disabling and check overlay images
sceScreenShotDisable, sceScreenShotEnable and sceScreenShotIsDisabled
threw. Disable and enable now set and clear a process-wide flag that
IsDisabled reports, rejecting an id of -1 or a null result with
0x80BE0001 as the PS5 module does. The notification toggles return 0.

sceScreenShotSetOverlayImage(WithOrigin) check their arguments and the
image file in the module's order: origin 1 to 9, offsets within
1919x1079 (3839x2159 for SDK 3.50 and later), a path under 1024 bytes,
a readable file that is not a directory (0x80BE0003) and a size from 1
byte to 2 MiB (8 MiB for SDK 3.50 and later, 0x80BE000E). An accepted
image is not kept, since no screenshots are taken.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK
2026-10-21 19:31:48 +13:00
juanpimg 90acb96a2e docs(debt): name the declared exports and state the ABI caveat 2026-10-19 23:46:13 +02: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
xdCloudy 1b5004d77f fix(prx): mark unsupported export prototypes as unknown 2026-10-19 08:28:58 +01:00