fix(libSceNpTrophy2): return success from sceNpTrophy2ShowTrophyList #3470

Merged
Techx3 merged 2 commits from upstream-pr/3470 into main 2026-10-11 11:51:06 +00:00
Techx3 commented 2026-10-11 11:04:51 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Techx3 on 2026-10-11T11:04:51Z.


There is no system trophy UI, so the call returns success without showing a list, like the other silent NpTrophy2 entry points; recorded in docs/dev/TechnicalDebt.md. PPSA15552 (Dead Cells) calls it and aborted on the NotImplemented exception.

Claude-Session: https://claude.ai/code/session_017Dqgm9nUKygsXzr6poJsHJ

What

sceNpTrophy2ShowTrophyList returns success instead of throwing: there is no system trophy UI, so no list is shown, like the other silent NpTrophy2 entry points; recorded in docs/dev/TechnicalDebt.md.
sceNpTrophy2ShowTrophyList returns SCE_NP_TROPHY2_OK instead of throwing NotImplemented. There is no system trophy UI, so it shows nothing, like the other silent NpTrophy2 entry points; it is added to the NpTrophy2 line of silent stubs. It only affects UI.

Tested

Windows 11, PPSA15552 (Dead Cells): the title calls it and aborted on the exception before; with the change it continues.

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: none
  • AI-assisted: yes (Claude)
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4818587258 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3470). Originally posted by [Techx3](https://github.com/Techx3) on 2026-10-11T11:04:51Z. --- There is no system trophy UI, so the call returns success without showing a list, like the other silent NpTrophy2 entry points; recorded in docs/dev/TechnicalDebt.md. PPSA15552 (Dead Cells) calls it and aborted on the NotImplemented exception. Claude-Session: https://claude.ai/code/session_017Dqgm9nUKygsXzr6poJsHJ ### What `sceNpTrophy2ShowTrophyList` returns success instead of throwing: there is no system trophy UI, so no list is shown, like the other silent NpTrophy2 entry points; recorded in `docs/dev/TechnicalDebt.md`. `sceNpTrophy2ShowTrophyList` returns `SCE_NP_TROPHY2_OK` instead of throwing `NotImplemented`. There is no system trophy UI, so it shows nothing, like the other silent NpTrophy2 entry points; it is added to the NpTrophy2 line of [silent stubs](docs/dev/TechnicalDebt.md#silent-stubs). It only affects UI. ### Tested Windows 11, PPSA15552 (Dead Cells): the title calls it and aborted on the exception before; with the change it continues. ### 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 - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed in TechnicalDebt - [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] AI-assisted: yes (Claude)
github-actions[bot] commented 2026-10-11 11:07:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T11:07:21Z.


Progress report (0f863c1 → 6c96c2e)

📈 System libraries: 85.77% (+0.03%, +1 implemented functions)

✅ 1 implemented
Library Name
libSceNpTrophy2 sceNpTrophy2ShowTrophyList
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6108375305 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3470#issuecomment-6108375305). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T11:07:21Z. --- <!-- progress-report --> ### Progress report (0f863c1 → 6c96c2e) 📈 **System libraries**: 85.77% (+0.03%, +1 implemented functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libSceNpTrophy2 | `sceNpTrophy2ShowTrophyList` | </details>
github-actions[bot] commented 2026-10-11 11:26:13 +00:00 (Migrated from github.com)

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


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
#674 3rdparty/imgui
#2853 docs/dev/TechnicalDebt.md L39-40
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6108523648 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3470#issuecomment-6108523648). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T11:26:13Z. --- <!-- 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 | |---|---|---|---| | #674 | | | `3rdparty/imgui` | | #2853 | `docs/dev/TechnicalDebt.md` [L39-40](https://github.com/boykopovar/AnyPS5/blob/712ae61a0228970aa4f8220cbd34c59a27b25823/docs/dev/TechnicalDebt.md#L39-L40) | | |
adriadam10 commented 2026-10-11 11:50:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T11:50:35Z.


Checked the build and the full ctest (829/829) on top of current main. Added in our own commit: the int context argument (SharpProspero declares sceNpTrophy2ShowTrophyList(int context)) and a guest_nptrophy2 case for the call, which fails on main (it throws there). Also filled the PR template headings. A silent success is fine here: it is UI behaviour with no host equivalent and it is listed in TechnicalDebt. Merging once CI is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6108716828 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3470#issuecomment-6108716828). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-11T11:50:35Z. --- Checked the build and the full ctest (829/829) on top of current main. Added in our own commit: the `int context` argument (SharpProspero declares `sceNpTrophy2ShowTrophyList(int context)`) and a `guest_nptrophy2` case for the call, which fails on `main` (it throws there). Also filled the PR template headings. A silent success is fine here: it is UI behaviour with no host equivalent and it is listed in TechnicalDebt. Merging once CI is green.
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!3470
No description provided.