fix(exports): export the calls PPSA02530 imports #3799

Merged
xXPBSXx merged 3 commits from upstream-pr/3799 into main 2026-10-12 21:00:35 +00:00
xXPBSXx commented 2026-10-11 16:48:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T16:48:08Z.


What

PRAGMATA (PPSA02530) fails to load because five imports have no export; sceRazorCpuSync and sceSharePlayProhibitController are implemented by #3791, so this PR declares the other three. This PR declares them without parameters as throwing stubs (signatures unknown), as #1347 did for PPSA01317 and #3537 does for PPSA15878:

Library Exports
libSceAcm sceAcmBatchJobPriority
libScePad scePadVrControllerGetTriggerEffectStates
libSceVideoOut sceVideoOutUnknown_q_vbO859Tw (NID -q-vbO859Tw, no name known)

Names come from the aerolib NID list (tools/nid_names.py), except the last one. No test is added, since CONTRIBUTING says not to test that a symbol is exported; a TechnicalDebt entry lists the stubs.

Tested

  • Windows, MinGW GCC 15.2.0, on current main (a11c8f7f7): the three libraries build; tools/check_conventions.py --base upstream/main passes. I searched the open PRs (titles and the diffs of those touching these libraries) and none declares these three functions (the other two are in #3791).
  • Not tested: running PPSA02530. Its next stops after these imports are other problems (allocator, #3043).

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: #3791 (for sceRazorCpuSync and sceSharePlayProhibitController; this PR does not touch them)
  • AI-assisted: yes (Claude Code)
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4820679025 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3799). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-11T16:48:08Z. --- ### What PRAGMATA (PPSA02530) fails to load because five imports have no export; `sceRazorCpuSync` and `sceSharePlayProhibitController` are implemented by #3791, so this PR declares the other three. This PR declares them without parameters as throwing stubs (signatures unknown), as #1347 did for PPSA01317 and #3537 does for PPSA15878: | Library | Exports | |---|---| | `libSceAcm` | `sceAcmBatchJobPriority` | | `libScePad` | `scePadVrControllerGetTriggerEffectStates` | | `libSceVideoOut` | `sceVideoOutUnknown_q_vbO859Tw` (NID `-q-vbO859Tw`, no name known) | Names come from the aerolib NID list (`tools/nid_names.py`), except the last one. No test is added, since CONTRIBUTING says not to test that a symbol is exported; a TechnicalDebt entry lists the stubs. ### Tested - Windows, MinGW GCC 15.2.0, on current `main` (`a11c8f7f7`): the three libraries build; `tools/check_conventions.py --base upstream/main` passes. I searched the open PRs (titles and the diffs of those touching these libraries) and none declares these three functions (the other two are in #3791). - Not tested: running PPSA02530. Its next stops after these imports are other problems (allocator, #3043). ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs) - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: #3791 (for `sceRazorCpuSync` and `sceSharePlayProhibitController`; this PR does not touch them) - [x] AI-assisted: yes (Claude Code)
github-actions[bot] commented 2026-10-11 16:48:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T16:48:47Z.


Progress report (3e0e01f → badb94c)

📉 System libraries: 86.29% (-0.07%, +3 declared functions)

🆕 3 declared as stubs
Library Name
libSceAcm sceAcmBatchJobPriority
libScePad scePadVrControllerGetTriggerEffectStates
libSceVideoOut sceVideoOutUnknown_q_vbO859Tw
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6111344663 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3799#issuecomment-6111344663). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T16:48:47Z. --- <!-- progress-report --> ### Progress report (3e0e01f → badb94c) 📉 **System libraries**: 86.29% (-0.07%, +3 declared functions) <details> <summary>🆕 3 declared as stubs</summary> | Library | Name | | - | - | | libSceAcm | `sceAcmBatchJobPriority` | | libScePad | `scePadVrControllerGetTriggerEffectStates` | | libSceVideoOut | `sceVideoOutUnknown_q_vbO859Tw` | </details>
adriadam10 commented 2026-10-11 16:58:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T16:58:05Z.

Review: DISMISSED


Thanks. Three things to fix before this can merge:

  • sceRazorCpuSync and sceSharePlayProhibitController are already implemented (with tests) in open #3791. Declaring them here as throwing stubs would conflict with it and replace a real implementation. Drop those two (libSceRazorCpu/Export.cpp, libSceSharePlay/Export.cpp, and their names in the TechnicalDebt line) and list #3791 under "Depends on".
  • #3801 (same author, opened minutes later) adds the same five exports under a different title. Please close one of the two so only one PR covers this.
  • docs/dev/TechnicalDebt.md:600: the new line is the last one in the section/file, where every PR appends and conflicts. Put it a few lines away from the end.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5484141323 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3799#pullrequestreview-5484141323). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-11T16:58:05Z. **Review:** DISMISSED --- Thanks. Three things to fix before this can merge: - `sceRazorCpuSync` and `sceSharePlayProhibitController` are already implemented (with tests) in open #3791. Declaring them here as throwing stubs would conflict with it and replace a real implementation. Drop those two (`libSceRazorCpu/Export.cpp`, `libSceSharePlay/Export.cpp`, and their names in the TechnicalDebt line) and list #3791 under "Depends on". - #3801 (same author, opened minutes later) adds the same five exports under a different title. Please close one of the two so only one PR covers this. - `docs/dev/TechnicalDebt.md:600`: the new line is the last one in the section/file, where every PR appends and conflicts. Put it a few lines away from the end.
xXPBSXx commented 2026-10-11 17:13:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T17:13:11Z.


Review addressed: sceRazorCpuSync and sceSharePlayProhibitController are removed from this PR (they are implemented by #3791; Depends on is set), the stacked duplicate #3801 is closed in favour of the independent #3819, and the TechnicalDebt line now sits away from the end of the file.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6111568863 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3799#issuecomment-6111568863). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-11T17:13:11Z. --- Review addressed: `sceRazorCpuSync` and `sceSharePlayProhibitController` are removed from this PR (they are implemented by #3791; Depends on is set), the stacked duplicate #3801 is closed in favour of the independent #3819, and the TechnicalDebt line now sits away from the end of the file. AI-assisted (Claude Code).
xXPBSXx commented 2026-10-11 17:22:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T17:22:52Z.


@adriadam10 the three points from your review are addressed in the latest commit and the description (see my comment above). Whenever you have time for another look, thank you.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6111656821 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3799#issuecomment-6111656821). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-11T17:22:52Z. --- @adriadam10 the three points from your review are addressed in the latest commit and the description (see my comment above). Whenever you have time for another look, thank you. AI-assisted (Claude Code).
xXPBSXx commented 2026-10-12 17:47:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T17:47:18Z.


Rebased onto current main (force-push of this branch only; no merge commits). The only conflict was in docs/dev/TechnicalDebt.md, where the PPSA02530 row now sits between the rows main added in the meantime; its text is unchanged. The code diff is identical to before: libSceAcm/Export.cpp, libScePad/Export.cpp and libSceVideoOut/Unimplemented.cpp, +17 lines (patch hashes old == new). Build and check_conventions pass on the rebased head.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6129553578 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3799#issuecomment-6129553578). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-12T17:47:18Z. --- Rebased onto current main (force-push of this branch only; no merge commits). The only conflict was in `docs/dev/TechnicalDebt.md`, where the PPSA02530 row now sits between the rows main added in the meantime; its text is unchanged. The code diff is identical to before: `libSceAcm/Export.cpp`, `libScePad/Export.cpp` and `libSceVideoOut/Unimplemented.cpp`, +17 lines (patch hashes old == new). Build and `check_conventions` pass on the rebased head. AI-assisted (Claude Code).
github-actions[bot] commented 2026-10-12 17:47:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-12T17:47:50Z.


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.

Pull request Conflicting files (lines on main) Same exports Same new files
#4620 scePadVrControllerGetTriggerEffectStates
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6129561332 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3799#issuecomment-6129561332). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-12T17:47:50Z. --- <!-- pr-overlap --> 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**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | #4620 | | `scePadVrControllerGetTriggerEffectStates` | |
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!3799
No description provided.