feat(libSceNgs2.native): declare loud threshold export #13491

Closed
kyon-eth wants to merge 1 commit from upstream-pr/13491 into main
kyon-eth commented 2026-10-30 16:55:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by kyon-eth on 2026-10-30T16:55:52Z.


What

Declare sceNgs2SystemSetLoudThreshold for import resolution. Its NID matches the named export in both version-labelled inventories. Its parameter list, return type and behavior are unverified; the declaration throws through NotImplemented_nid_no_patch and is not an ABI or implementation claim. No game unblock is claimed.

Landing order

Proposed #12107 and #12673 before this draft because their direct merge previews conflict in the shared debt file. I requested the authors’ agreement; responses are pending and no dependency agreement is claimed.

Tested

  • macOS: export source syntax, public-header audit, repository conventions and diff whitespace checks pass.
  • The open-PR checker could not fully compare #5548, #11388, #12107 and #12673 because those branches already conflict with main. Their NGS2 source and debt diffs contain neither this name nor its NID. Direct merge previews also report conflicts in the shared debt file for #12107 and #12673. The overlap checklist remains unchecked pending complete comparison and reconciliation.
  • No full product build, Linux or Windows run, console run or title run.

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 under Silent stubs in their library's technical debt file
  • 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: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5087997732 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13491). Originally posted by [kyon-eth](https://github.com/kyon-eth) on 2026-10-30T16:55:52Z. --- ### What Declare `sceNgs2SystemSetLoudThreshold` for import resolution. Its NID matches the named export in both version-labelled inventories. Its parameter list, return type and behavior are unverified; the declaration throws through `NotImplemented_nid_no_patch` and is not an ABI or implementation claim. No game unblock is claimed. ### Landing order Proposed #12107 and #12673 before this draft because their direct merge previews conflict in the shared debt file. I requested the authors’ agreement; responses are pending and no dependency agreement is claimed. ### Tested - macOS: export source syntax, public-header audit, repository conventions and diff whitespace checks pass. - The open-PR checker could not fully compare #5548, #11388, #12107 and #12673 because those branches already conflict with main. Their NGS2 source and debt diffs contain neither this name nor its NID. Direct merge previews also report conflicts in the shared debt file for #12107 and #12673. The overlap checklist remains unchecked pending complete comparison and reconciliation. - No full product build, Linux or Windows run, console run or title run. ### Checklist - [ ] 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 under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [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: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
MarcZX10 commented 2026-11-21 08:47:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T08:47:59Z.

Review: APPROVED


Reviewed — looks good

The declaration follows the stated import-resolution goal, and its ABI and behavior limitations are documented; I found no verified defect in the lines reviewed.

What I ran

  • Read the prepared diff and the full text of all three changed files at head f4b5b8040bd4629ea675379388fbe66580af161c.
  • Searched the NGS2 native library for sceNgs2SystemSetLoudThreshold and related name references using repo_read.py.
  • No build or tests were run.

Results

Check Result Note
Changed-file review passed All three changed files read
Targeted name search passed Only declaration and definition found
Build and tests not run No execution performed

Findings

Blocking

None.

Non-blocking

None.

Not verified

  • The declaration's parameter list, return type, behavior, and ABI are explicitly unverified by the change description and debt entry.
  • No build, test, platform, or console execution was performed.
  • All changed files listed in the manifest were read; no changed files were excluded.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6004236372 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13491#pullrequestreview-6004236372). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-21T08:47:59Z. **Review:** APPROVED --- # Reviewed — looks good The declaration follows the stated import-resolution goal, and its ABI and behavior limitations are documented; I found no verified defect in the lines reviewed. ## What I ran - Read the prepared diff and the full text of all three changed files at head `f4b5b8040bd4629ea675379388fbe66580af161c`. - Searched the NGS2 native library for `sceNgs2SystemSetLoudThreshold` and related name references using `repo_read.py`. - No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Changed-file review | passed | All three changed files read | | Targeted name search | passed | Only declaration and definition found | | Build and tests | not run | No execution performed | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified - The declaration's parameter list, return type, behavior, and ABI are explicitly unverified by the change description and debt entry. - No build, test, platform, or console execution was performed. - All changed files listed in the manifest were read; no changed files were excluded. ## To get this to a good state Nothing is required.
ligmaSec commented 2026-12-03 13:22:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T13:22:31Z.

Review: COMMENTED


Compiled the branch’s export source as a Linux object and checked that it defines all 1 callable symbol from the diff. A trial merge against main 13aa5703b390 reports conflicts in Export.cpp, Api.hpp. Move the debt addition into a change fragment under docs/dev/debt/changes/ and let the debt fold update the roll-up.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6170614783 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13491#pullrequestreview-6170614783). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T13:22:31Z. **Review:** COMMENTED --- Compiled the branch’s export source as a Linux object and checked that it defines all 1 callable symbol from the diff. A trial merge against main `13aa5703b390` reports conflicts in `Export.cpp`, `Api.hpp`. Move the debt addition into a change fragment under `docs/dev/debt/changes/` and let the debt fold update the roll-up. AI-assisted: yes.

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