libSceScreenShot: six exports need their argument lists and checks from the firmware module #13737

Closed
opened 2026-10-31 03:24:17 +00:00 by zaryabzip · 0 comments
zaryabzip commented 2026-10-31 03:24:17 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by zaryabzip on 2026-10-31T03:24:17Z.


What happens

Six libSceScreenShot exports still throw through NotImplemented_nid_no_patch on every call:

  • sceScreenShotCapture, sceScreenShotGetAppInfo and sceScreenShotSetParam are declared without parameters, because no prototype is known.
  • sceScreenShotGetDrcParam, sceScreenShotSetDrcParam and sceScreenShotIsVshScreenCaptureDisabled have argument lists only from the demangled IpcClient member names in the aerolib database. The debt file says the exported prototypes are assumed from those.

They're the library's last todo exports.

What's known

  • docs/dev/debt/libSceScreenShot.md records:
    • the three IpcClient names: SetDrcParam(unsigned, unsigned), GetDrcParam(int, unsigned*, unsigned*) and IsVshScreenCaptureDisabled(int*);
    • the 3.20 inventory as the only source for the other three.
  • The rest of the library is implemented. Disable, Enable and IsDisabled keep one process-wide flag, and the overlay calls check their arguments and the file as the PS5 module does, which covers the 0x80BE0001, 0x80BE0003 and 0x80BE000E errors.
  • shadPS4, KytyPS5, fpPS4 and sharpemu have no bodies for these six.
  • No open pull request touches libSceScreenShot. A search of every open PR's diff for these names found nothing.

What would settle it

For each export, from libSceScreenShot.sprx:

  • the argument list;
  • the checks, with their order and error codes;
  • what happens past them.

In particular: does each one end in an IPC call to the screenshot service, as the IpcClient names suggest, or does any of them keep local state (for example SetParam storing a parameter block that Capture or GetAppInfo reads)? Calls that only reach the service can stay unsupported. Their local checks and argument lists would still replace the current placeholders.

Either setup used here before would do: @BunnyFl's 13.42 module runs (#13680, #13682) or @edubox's 11.00 VSH dump reads (#12063).

What was checked

main at 50a261e7e4; tools/progress.py; emulator sources at shadPS4 0614ce32, KytyPS5 4919fdb6, sharpemu b1ec2866 and fpPS4 04cefd43; and the diffs of all open PRs.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6130592132 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/13737). Originally posted by [zaryabzip](https://github.com/zaryabzip) on 2026-10-31T03:24:17Z. --- ### What happens Six libSceScreenShot exports still throw through `NotImplemented_nid_no_patch` on every call: - `sceScreenShotCapture`, `sceScreenShotGetAppInfo` and `sceScreenShotSetParam` are declared without parameters, because no prototype is known. - `sceScreenShotGetDrcParam`, `sceScreenShotSetDrcParam` and `sceScreenShotIsVshScreenCaptureDisabled` have argument lists only from the demangled `IpcClient` member names in the aerolib database. The debt file says the exported prototypes are assumed from those. They're the library's last todo exports. ### What's known - `docs/dev/debt/libSceScreenShot.md` records: - the three `IpcClient` names: `SetDrcParam(unsigned, unsigned)`, `GetDrcParam(int, unsigned*, unsigned*)` and `IsVshScreenCaptureDisabled(int*)`; - the 3.20 inventory as the only source for the other three. - The rest of the library is implemented. `Disable`, `Enable` and `IsDisabled` keep one process-wide flag, and the overlay calls check their arguments and the file as the PS5 module does, which covers the `0x80BE0001`, `0x80BE0003` and `0x80BE000E` errors. - shadPS4, KytyPS5, fpPS4 and sharpemu have no bodies for these six. - No open pull request touches libSceScreenShot. A search of every open PR's diff for these names found nothing. ### What would settle it For each export, from `libSceScreenShot.sprx`: - the argument list; - the checks, with their order and error codes; - what happens past them. In particular: does each one end in an IPC call to the screenshot service, as the `IpcClient` names suggest, or does any of them keep local state (for example `SetParam` storing a parameter block that `Capture` or `GetAppInfo` reads)? Calls that only reach the service can stay unsupported. Their local checks and argument lists would still replace the current placeholders. Either setup used here before would do: @BunnyFl's 13.42 module runs (#13680, #13682) or @edubox's 11.00 VSH dump reads (#12063). ### What was checked `main` at 50a261e7e4; `tools/progress.py`; emulator sources at shadPS4 0614ce32, KytyPS5 4919fdb6, sharpemu b1ec2866 and fpPS4 04cefd43; and the diffs of all open PRs. AI-assisted: yes (Claude Code)
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#13737
No description provided.