Skip to content

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

Merged
oneandonlydean merged 3 commits into
boykopovar:mainfrom
xXPBSXx:fix/export-ppsa02530-imports-v4
Oct 12, 2026
Merged

oneandonlydean merged 3 commits into
boykopovar:mainfrom
xXPBSXx:fix/export-ppsa02530-imports-v4

Conversation

@xXPBSXx

@xXPBSXx xXPBSXx commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

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

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: feat(exports): implement three small PRAGMATA exports #3791 (for sceRazorCpuSync and sceSharePlayProhibitController; this PR does not touch them)
  • AI-assisted: yes (Claude Code)

@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

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

@adriadam10 adriadam10 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

xXPBSXx commented Oct 11, 2026

Copy link
Copy Markdown
Contributor Author

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

xXPBSXx commented Oct 11, 2026

Copy link
Copy Markdown
Contributor Author

@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).

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 11, 2026
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 11, 2026
@oneandonlydean oneandonlydean self-assigned this Oct 12, 2026
@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 12, 2026
@xXPBSXx
xXPBSXx force-pushed the fix/export-ppsa02530-imports-v4 branch from c0216f0 to 80cd8d0 Compare October 12, 2026 17:46
@xXPBSXx

xXPBSXx commented Oct 12, 2026

Copy link
Copy Markdown
Contributor Author

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

github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

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

@github-actions github-actions Bot mentioned this pull request Oct 12, 2026
9 tasks done
@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 12, 2026
xXPBSXx and others added 3 commits October 12, 2026 21:51
PPSA02530 (PRAGMATA) fails to load without these imports that no library exports. Their signatures are unknown, so they are declared without parameters and throw until they are implemented. Adds a TechnicalDebt entry.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…r to boykopovar#3791

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@xXPBSXx
xXPBSXx force-pushed the fix/export-ppsa02530-imports-v4 branch from 80cd8d0 to badb94c Compare October 12, 2026 19:52
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 12, 2026
@oneandonlydean
oneandonlydean dismissed adriadam10’s stale review October 12, 2026 20:57

The points from this review are in the current head.

@oneandonlydean
oneandonlydean merged commit 22bb451 into boykopovar:main Oct 12, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants