feat(libSceNgs2): export sceNgs2ReportRegisterHandler and sceNgs2ReportUnregisterHandler #3559
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3559"
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 EdouardSence on 2026-10-11T13:12:17Z.
What
Exports
sceNgs2ReportRegisterHandlerandsceNgs2ReportUnregisterHandlerfrom libSceNgs2 as throwing stubs, so titles that import them load.maina11c8f7fits loader stops on the first of them: With this PR it loads past both and stops on its next missing import,qVOSuDRHCpA(sce::Json::Array::clear).sceNgs2ReportRegisterHandleronce, behind a flag in its audio settings, with report type 5 (CPU load). Its handler copies the four ratios into its audio object. It callssceNgs2ReportUnregisterHandleron that handle at teardown.ngs2_report.h. The TechnicalDebt entry is under "Unknown function info", next to the other throwing exports.ngs2_reportcalls both and expects them to throw without writing the out handle. Onmainit does not link (undefined reference to sceNgs2ReportRegisterHandler).Tested
Linux (CachyOS), RX 9070 XT, GCC, Release, on
maina11c8f7f:ngs2_reportand the other eightngs2_*tests pass.nm -D libSceNgs2.prx.qVOSuDRHCpAinstead ofuBIN24Tv2MI.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)Tested and written by Claude (AI assistant) on a contributor's machine.
🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T13:12:41Z.
Progress report (
a11c8f7→295e48f)📉 System libraries: 85.76% (-0.05%, +2 declared functions)
🆕 2 declared as stubs
sceNgs2ReportRegisterHandlersceNgs2ReportUnregisterHandlerImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T19:28:26Z.
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.mdL280core/libs/prx/libSceNgs2.native/CMakeLists.txtL5core/libs/prx/libSceNgs2.native/src/Unimplemented.cppL28-39Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T21:33:09Z.
Checked the build, the
ngs2_*tests (incl. the newngs2_report), the NIDs (aerolib) and the signatures (shadPS4, SharpProspero); throwing stubs with a TechnicalDebt line and no duplicate with other open PRs. Merging.