docs(libSceAgcDriver): list sceAgcDriverSetHsOffchipParam as a silent stub #17883
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17883"
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 milescoviello on 2026-11-09T20:21:57Z.
What
sceAgcDriverSetHsOffchipParam(State/src/Configuration.cpp) returns 0 and ignores its arguments, but it is not listed under Silent stubs indocs/dev/debt/libSceAgcDriver.md. The file mentions it only inside thesceAgcDriverGetHsOffchipParamentry ("which keeps nothing here"). This adds its own Silent stubs entry.The entry also records what the callers pass. Of the titles relinked here, nine call it, once each, read from the instructions before each call in the relinked executables:
(n >> 15) - 1as 16 bits, wherenis the argument of the wrapper that calls itSix homebrew apps (PPSA97358, PPSA97510, PPSA98510, PPSA98511, PPSA98512, PPSA98514) call it as well. None of the callers sets a third argument register, while the declaration here takes three 64-bit values. The entry says so without changing the declaration, since nothing reads them.
How
Changed:
docs/dev/debt/libSceAgcDriver.md, one entry added to Silent stubs aftersceAgcDriverSetResourceRegistrationInfo, linking toConfiguration.cppwhere the function is defined. No code change.Tested
Docs only.
tools/check_conventions.py --base upstream/mainpasses onmain4a467be387.tools/pr_overlap.py --branchlists 30 open pull requests that change this file. Of their hunks, only #14212's reach the Silent stubs lines: it inserts blank lines between entries and already conflicts withmain, so whichever lands second resolves one blank line.Checklist
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)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by gabichuuuuu on 2026-11-10T17:49:39Z.
Review: COMMENTED
Read
e68504845cagainstmain.Defect. The gap is already gone on main, and the new entry contradicts the code.
sceAgcDriverSetHsOffchipParamon main takes(uint16_t granularity, uint16_t buffering), rejects out-of-range values, stores them and returns 0 (State/src/Configuration.cpp:33-38), andsceAgcDriverGetHsOffchipParamis implemented and returns the stored pair (Configuration.cpp:40-46, since62937bd4f3). The entry says the function "returns 0 without keeping its arguments", "takes three 64-bit values" and thatsceAgcDriverGetHsOffchipParam"still throws"; none of that holds on main, andlibSceAgcDriver.md:347on main already documents the real behaviour. The PR was written against the olderConfiguration.cpp(threeuint64_targuments, a throwingGetinUnimplemented.cpp:55). Close it or rewrite it against current main.Not run here; this is from reading the code.
AI-assisted: yes.
Pull request closed