Skip to content

fix(libSceNpTrophy2): return success from sceNpTrophy2ShowTrophyList - #3470

Merged
adriadam10 merged 2 commits into
boykopovar:mainfrom
Techx3:trophy2-show-trophy-list
Oct 11, 2026
Merged

adriadam10 merged 2 commits into
boykopovar:mainfrom
Techx3:trophy2-show-trophy-list

Conversation

@Techx3

@Techx3 Techx3 commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

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)

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.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Dqgm9nUKygsXzr6poJsHJ
@github-actions

Copy link
Copy Markdown

Progress report (0f863c1 → 6c96c2e)

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

✅ 1 implemented
Library Name
libSceNpTrophy2 sceNpTrophy2ShowTrophyList

@github-actions

github-actions Bot commented Oct 11, 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
#674 3rdparty/imgui
#2853 docs/dev/TechnicalDebt.md L39-40

@adriadam10

Copy link
Copy Markdown
Collaborator

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

2 participants