fix(libSceSysmodule): register Trophy2 module ID #2609

Closed
MarcZX10 wants to merge 1 commit from upstream-pr/2609 into main
MarcZX10 commented 2026-10-10 08:26:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-10T08:26:26Z.


What

Register sysmodule ID 0x110 as libSceNpTrophy2 so it follows the existing module lookup and reference-counted load/unload behavior. Add lookup and nested load/unload regression coverage. Tracks #2542.

The mapping is directly listed in astrelsky/libNidResolver's sysmodule table. A Hades startup log also records sceSysmoduleLoadModule receiving unknown ID 272 (decimal, 0x110); this confirms the requested ID was encountered, but does not identify a PPSA or prove the call site's title-specific intent.

The two-file code diff is identical to PR #2541, which is currently open and carries the same change. This PR was automatically closed by the intake workflow; this update records the evidence and overlap and does not request reopening it.

Validation

Check Result Scope
guest_sysmodule Passed (1/1) Linux x86_64, GCC 12.2, Release; focused test of lookup and nested reference counts
guest_sysmodule Passed (1/1) Windows run reported on the identical patch in #2541
register-context Passed Ubuntu Debug/Release and macOS Intel Debug/Release
write-watch Passed macOS 15 and macOS 15 Intel
relinker Passed Ubuntu, Windows, and macOS
Full Linux and Windows Build workflows Skipped Not covered by the available intake checks
Hades runtime Not tested Runtime log is corroboration only

tools/check_conventions.py --base upstream/main and git diff --check passed on the reviewed patch.

Checklist

  • One topic per PR
  • No code comments added
  • No unimplemented exports or silent stubs added
  • No notes, reports or images added to the repository
  • No third-party code added
  • Generic behavior
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4809883206 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2609). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-10T08:26:26Z. --- ### What Register sysmodule ID `0x110` as `libSceNpTrophy2` so it follows the existing module lookup and reference-counted load/unload behavior. Add lookup and nested load/unload regression coverage. Tracks #2542. The mapping is directly listed in [`astrelsky/libNidResolver`'s sysmodule table](https://github.com/astrelsky/libNidResolver/blob/master/source/sysmodules.c#L864). A Hades startup log also records `sceSysmoduleLoadModule` receiving unknown ID `272` (decimal, `0x110`); this confirms the requested ID was encountered, but does not identify a PPSA or prove the call site's title-specific intent. The two-file code diff is identical to PR #2541, which is currently open and carries the same change. This PR was automatically closed by the intake workflow; this update records the evidence and overlap and does not request reopening it. ### Validation | Check | Result | Scope | |---|---|---| | `guest_sysmodule` | Passed (1/1) | Linux x86_64, GCC 12.2, Release; focused test of lookup and nested reference counts | | `guest_sysmodule` | Passed (1/1) | Windows run reported on the identical patch in #2541 | | `register-context` | Passed | Ubuntu Debug/Release and macOS Intel Debug/Release | | `write-watch` | Passed | macOS 15 and macOS 15 Intel | | `relinker` | Passed | Ubuntu, Windows, and macOS | | Full Linux and Windows Build workflows | Skipped | Not covered by the available intake checks | | Hades runtime | Not tested | Runtime log is corroboration only | `tools/check_conventions.py --base upstream/main` and `git diff --check` passed on the reviewed patch. ### Checklist - [x] One topic per PR - [x] No code comments added - [x] No unimplemented exports or silent stubs added - [x] No notes, reports or images added to the repository - [x] No third-party code added - [x] Generic behavior - [x] Depends on: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-10 08:26:51 +00:00 (Migrated from github.com)

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


Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6095668611 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2609#issuecomment-6095668611). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-10T08:26:51Z. --- Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.

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