fix(agc): ignore the unused legacy initialization argument #20434
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/20434"
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 JJenkx on 2026-11-15T05:58:25Z.
What
sceAgcInit_0090checks its unused first argument as a state pointer and throws for null or unaligned values. The bundled PPSA06652 wrapper ignores that argument. Remove the check and continue forwarding the version to the existingsceAgcInitimplementation.The wrapper contract comes from static library-side inspection of the user-owned bundled compatibility module, not authenticated retail firmware or a new console measurement. The debt fragment preserves the existing canonical initialization compatibility gap, including the previously reported firmware 13.60 scalar-call differences.
Tested
Arch Linux; base
c1dd2b5b502e, identical-fixture controlf7c37b818dab, executed change9f89a03ebabc. Final head4425abd40e00only condenses the debt fragment; C++ and test sources remain unchanged.^(agc_initialization|agc_commands|agc_driver_pm4)$and^agc_driver_alpha_to_coverage$, usingctest -V.Commands.cpp, with no initialization fixture changes. Clean source-only merge against later main6ad1fe8a7196; that later tree was not executed.Paired build/test logs, source patches, reference provenance and manual overlap review, SHA-256
6f387eedac64a0a72bbb441e7733d749ea5def4d685d6275f4127bdd8154dca2. Downloaded archive and all 38 members verified. No private reference binary or disassembly is attached.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)