fix(exports): export the calls PPSA29866 imports #3801

Closed
xXPBSXx wants to merge 2 commits from upstream-pr/3801 into main
xXPBSXx commented 2026-10-11 16:51:20 +00:00 (Migrated from github.com)

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


What

Tomba! 2 (PPSA29866) fails to load because three imports have no export. This PR declares them without parameters as throwing stubs (signatures unknown), as #1347 did for PPSA01317:

Library Exports
libSceHmd2 sceHmd2ReprojectionQuerySeeThroughBufferSizeAlign
libSceVideoOut sceVideoOutSetFlipMaster, sceVideoOutClearFlipMaster

Names come from the aerolib NID list (tools/nid_names.py). No test is added, since CONTRIBUTING says not to test that a symbol is exported; a TechnicalDebt entry lists the stubs. The title's other missing imports are covered by #3773 (PPSA07411) and #3537 (PS VR2). The branch is stacked on #3799, which also appends to libSceVideoOut/Unimplemented.cpp; until #3799 merges, this PR's diff shows its commit as well.

Tested

  • Windows, MinGW GCC 15.2.0: libSceHmd2 and libSceVideoOut build; tools/check_conventions.py --base upstream/main passes. I searched the open PRs for these three names and found none.
  • Not tested: running PPSA29866 with all of its imports present (the later stop at sceAgcDcbSetWorkloadsActive is a separate matter).

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: #3799
  • AI-assisted: yes (Claude Code)
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4820698933 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3801). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-11T16:51:20Z. --- ### What Tomba! 2 (PPSA29866) fails to load because three imports have no export. This PR declares them without parameters as throwing stubs (signatures unknown), as #1347 did for PPSA01317: | Library | Exports | |---|---| | `libSceHmd2` | `sceHmd2ReprojectionQuerySeeThroughBufferSizeAlign` | | `libSceVideoOut` | `sceVideoOutSetFlipMaster`, `sceVideoOutClearFlipMaster` | Names come from the aerolib NID list (`tools/nid_names.py`). No test is added, since CONTRIBUTING says not to test that a symbol is exported; a TechnicalDebt entry lists the stubs. The title's other missing imports are covered by #3773 (PPSA07411) and #3537 (PS VR2). The branch is stacked on #3799, which also appends to `libSceVideoOut/Unimplemented.cpp`; until #3799 merges, this PR's diff shows its commit as well. ### Tested - Windows, MinGW GCC 15.2.0: `libSceHmd2` and `libSceVideoOut` build; `tools/check_conventions.py --base upstream/main` passes. I searched the open PRs for these three names and found none. - Not tested: running PPSA29866 with all of its imports present (the later stop at `sceAgcDcbSetWorkloadsActive` is a separate matter). ### 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: #3799 - [x] AI-assisted: yes (Claude Code)
github-actions[bot] commented 2026-10-11 16:51:41 +00:00 (Migrated from github.com)

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


Progress report (a11c8f7 → d2dec42)

📉 System libraries: 85.61% (-0.2%, +8 declared functions)

🆕 8 declared as stubs
Library Name
libSceAcm sceAcmBatchJobPriority
libSceHmd2 sceHmd2ReprojectionQuerySeeThroughBufferSizeAlign
libScePad scePadVrControllerGetTriggerEffectStates
libSceRazorCpu sceRazorCpuSync
libSceSharePlay sceSharePlayProhibitController
libSceVideoOut sceVideoOutClearFlipMaster
libSceVideoOut sceVideoOutSetFlipMaster
libSceVideoOut sceVideoOutUnknown_q_vbO859Tw
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6111371566 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3801#issuecomment-6111371566). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T16:51:41Z. --- <!-- progress-report --> ### Progress report (a11c8f7 → d2dec42) 📉 **System libraries**: 85.61% (-0.2%, +8 declared functions) <details> <summary>🆕 8 declared as stubs</summary> | Library | Name | | - | - | | libSceAcm | `sceAcmBatchJobPriority` | | libSceHmd2 | `sceHmd2ReprojectionQuerySeeThroughBufferSizeAlign` | | libScePad | `scePadVrControllerGetTriggerEffectStates` | | libSceRazorCpu | `sceRazorCpuSync` | | libSceSharePlay | `sceSharePlayProhibitController` | | libSceVideoOut | `sceVideoOutClearFlipMaster` | | libSceVideoOut | `sceVideoOutSetFlipMaster` | | libSceVideoOut | `sceVideoOutUnknown_q_vbO859Tw` | </details>
xXPBSXx commented 2026-10-11 17:12:51 +00:00 (Migrated from github.com)

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


Closing in favour of #3819: this branch was stacked on #3799 and so repeated its exports. #3819 is independent and carries only the three Tomba! 2 stubs.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6111565939 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3801#issuecomment-6111565939). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-11T17:12:51Z. --- Closing in favour of #3819: this branch was stacked on #3799 and so repeated its exports. #3819 is independent and carries only the three Tomba! 2 stubs. AI-assisted (Claude Code).

Pull request closed

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!3801
No description provided.