feat(libSceAvPlayer): export missing firmware functions from database #6852
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6852"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by al3w0f205 on 2026-10-16T14:16:39Z.
What
Adds missing
libSceAvPlayerfunctions identified from firmware export databases (aerolib.csv) as explicit throwing stubs (NotImplemented_nid_no_patch(__func__)). Also documents the unverified guest signatures under### Unknown function infoindocs/dev/debt/libSceAvPlayer.mdand verifies throwing behavior in guest tests.Exported functions:
sceAvPlayerPrintfsceAvPlayerVprintfsceAvPlayerGetAvailableBWsceAvPlayerGetStreamBitratesceAvPlayerInitImplsceAvPlayerJumpTimeOffsetsceAvPlayerSetAvailableBWsceAvPlayerStreamingRegisterVprinfsceAvPlayerVPrintfTested
tools/check_conventions.py --base origin/mainpassed with 0 errorsChecklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T14:17:26Z.
Progress report (
e0e3ced→d89898c)📉 System libraries: 88.61% (-0.22%, +9 declared functions)
🆕 9 declared as stubs
sceAvPlayerGetAvailableBWsceAvPlayerGetStreamBitratesceAvPlayerInitImplsceAvPlayerJumpTimeOffsetsceAvPlayerPrintfsceAvPlayerSetAvailableBWsceAvPlayerStreamingRegisterVprinfsceAvPlayerVPrintfsceAvPlayerVprintfImported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T14:26:23Z.
The latest conventions run fails because the PR body is missing the required
### What,### Tested, and### Checklistsections (rather than because of the code). Please format the description with those headings and fill the checklist fields, includingDepends on,Unblocks,GPUs tested, andAI-assisted; then conventions should re-run on the description update.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T14:40:06Z.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/libs/tests/GuestAvPlayer.cppcore/libs/tests/GuestAvPlayer.cppdocs/dev/debt/libSceAvPlayer.mdcore/libs/tests/GuestAvPlayer.cppImported from boykopovar/AnyPS5. Originally posted by al3w0f205 on 2026-10-16T14:45:27Z.
Thank you! The PR description has been updated with the required ### What, ### Tested, and ### Checklist sections, and conventions are now passing green.
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-19T10:21:43Z.
Review: CHANGES_REQUESTED
Thanks for the PR. As it stands it only declares nine exports with no parameters that throw, so behaviour is identical to the import being unresolved; it just moves the progress number.
Export.cpp:195-238: no signature or behaviour for any of these. I found none of the names in KytyPS5, shadPS4, fpPS4 or prosper. "Present in aerolib.csv" tells us the name exists, not what the arguments are.Export.cpp:230:sceAvPlayerStreamingRegisterVprinf(looks like a typo) and thePrintf/Vprintf/VPrintfvariants need a source showing they are distinct exports, not database noise.GuestAvPlayer.cpp:1588-1610: only 3 of the 9 are tested, and only that they throw.docs/dev/debt/libSceAvPlayer.md:17: the line is appended at the end of its section, which tends to conflict with other PRs; insert it mid-section.GuestAvPlayer.cppis also touched by #1601 and #6044; please check the overlap.What would make this mergeable: implement the ones a reference (or a title's import) gives a real signature for, with tests pinning their return values, and drop the rest.
Imported from boykopovar/AnyPS5. Originally posted by al3w0f205 on 2026-10-20T02:01:58Z.
Closing in favor of implementing real signatures and verified behaviors rather than throwing stubs without parameters.
Pull request closed