refactor(libSceAjm.native): name the WVorbis stubs by their NIDs #1468
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1468"
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 arvindfroi on 2026-10-08T08:25:11Z.
What
The two libSceAjmWVorbis stubs in
libSceAjm.nativehad no names in the NID database. Their names follow the codec-specificsceAjmDec<Codec>...exports (sceAjmDecAt9ParseConfigData,sceAjmDecMp3ParseFrame) and the Vorbis header and setup packets:Z4HDpe1ZEa4sceAjmDecWVorbisCreateHeaderPacketoXShHcqMcX0sceAjmDecWVorbisCreateSetupPacketThe names were found by hashing candidates built from the database's
sceAjm*andsceVorbisDec*names, and checked with bothcompute_nidintools/nid_names.pyandNid::ComputeNidincore/libs/nid/src/NidCompute.cpp. The stubs dropAPS5_EXPORTand use these names, so the generated NIDs are unchanged andNotImplementedfailures name the real function. Behaviour is unchanged. The TechnicalDebt entry now lists the names; the signatures are still unknown.Tested
tools/nid_names.pyno longer lists either NID.tools/check_conventions.py --base origin/mainpasses.clang++ -fsyntax-onlyon the file has no errors. No x86-64 toolchain on this machine (Apple Silicon), so the build is left to CI. No title tested.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T13:41:05Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)docs/dev/TechnicalDebt.mdL159-160docs/dev/TechnicalDebt.mdL159-161Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T14:34:10Z.
Progress report (
61896de→5019c1e)➖ System libraries: 85.15% (+0.0%, +2 declared, -2 removed functions)
🆕 2 declared as stubs
sceAjmDecWVorbisCreateHeaderPacketsceAjmDecWVorbisCreateSetupPacket🗑️ 2 removed
sceAjmWVorbisUnknown00sceAjmWVorbisUnknown01Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-08T14:36:30Z.
Checked both names against
compute_nid(tools/nid_names.py):sceAjmDecWVorbisCreateHeaderPacket→Z4HDpe1ZEa4,sceAjmDecWVorbisCreateSetupPacket→oXShHcqMcX0. The diff only renames the two stubs (same pattern as the other un-annotated stubs in the file) and updates the TechnicalDebt line; behaviour unchanged. Local build + ctest on top of currentmain: 461/461 passed. Merging once CI is green.Note: #1538 edits the neighbouring TechnicalDebt line, so whichever lands second needs a trivial rebase.