fix(libSceSysmodule): recognize the Acm module id #3203

Closed
danzaio wants to merge 2 commits from upstream-pr/3203 into main
danzaio commented 2026-10-11 01:02:06 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by danzaio on 2026-10-11T01:02:06Z.


### What

Dungeons (PPSA16064) logs [libSceSysmodule/Export.cpp:127 sceSysmoduleLoadModule] unknown id: 267 during startup on current main; this was reported in #2811. Decimal 267 is 0x10b. The PRX for libSceAcm is already in the tree, but kModuleTable has no entry for this module ID. This adds the mapping and a guest test that loads and unloads the module.

Tested

  • Windows, MinGW 15.2: guest_sysmodule aborts without the mapping and passes 1/1 with it (as previously tested on the PR branch).
  • This test run was against base 06da117; it has not been rerun against current main (a11c8f7).

Checklist

  • Based on current main; no other open PR implements the same function. The conflicting #2541 and #3041 are now merged, but this branch still needs refresh against current main and a new test run before merge.
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw; this change only adds a module-table mapping and test
  • No notes, investigation files or images added
  • No new third-party code
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4815641469 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3203). Originally posted by [danzaio](https://github.com/danzaio) on 2026-10-11T01:02:06Z. --- ### What Dungeons (PPSA16064) logs `[libSceSysmodule/Export.cpp:127 sceSysmoduleLoadModule] unknown id: 267` during startup on current main; this was reported in #2811. Decimal 267 is `0x10b`. The PRX for `libSceAcm` is already in the tree, but `kModuleTable` has no entry for this module ID. This adds the mapping and a guest test that loads and unloads the module. ### Tested - Windows, MinGW 15.2: `guest_sysmodule` aborts without the mapping and passes 1/1 with it (as previously tested on the PR branch). - This test run was against base `06da117`; it has not been rerun against current `main` (`a11c8f7`). ### Checklist - [ ] Based on current `main`; no other open PR implements the same function. The conflicting #2541 and #3041 are now merged, but this branch still needs refresh against current `main` and a new test run before merge. - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical debt - [x] Unimplemented paths throw; this change only adds a module-table mapping and test - [x] No notes, investigation files or images added - [x] No new third-party code - [x] Generic behaviour, not specific to one title - Depends on: none - AI-assisted: yes
github-actions[bot] commented 2026-10-11 01:02:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T01:02:17Z.


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:6104008749 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3203#issuecomment-6104008749). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T01:02:17Z. --- 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.
github-actions[bot] commented 2026-10-11 01:03:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T01:03:36Z.


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
#2541 core/libs/tests/GuestSysmodule.cpp L18-19, L39
#3041 core/libs/tests/GuestSysmodule.cpp L39
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6104018166 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3203#issuecomment-6104018166). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T01:03:36Z. --- <!-- 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 | |---|---|---|---| | #2541 | `core/libs/tests/GuestSysmodule.cpp` [L18-19](https://github.com/boykopovar/AnyPS5/blob/9ba3d0d7d4ecd2321e42c724dd54da06f6ee1b1f/core/libs/tests/GuestSysmodule.cpp#L18-L19), [L39](https://github.com/boykopovar/AnyPS5/blob/9ba3d0d7d4ecd2321e42c724dd54da06f6ee1b1f/core/libs/tests/GuestSysmodule.cpp#L39) | | | | #3041 | `core/libs/tests/GuestSysmodule.cpp` [L39](https://github.com/boykopovar/AnyPS5/blob/9ba3d0d7d4ecd2321e42c724dd54da06f6ee1b1f/core/libs/tests/GuestSysmodule.cpp#L39) | | |

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