feat(libSceNpTrophy2): implement sceNpTrophy2ShowTrophyList #986
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/986"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Kikoarl on 2026-10-06T21:54:59Z.
What
Implement
sceNpTrophy2ShowTrophyList(int context)inlibSceNpTrophy2returningSCE_NP_TROPHY2_OK.d82bae0as an unimplemented stub). Reference in PsPcSdkEmulator and SharpProspero where showing the system trophy list returnsSCE_OK(SCE_NP_TROPHY2_OK).GuestNpTrophy2.cppverifying the call succeeds.docs/dev/TechnicalDebt.mdunder### Silent stubsand### Unknown function info.Quality Checklist
type(scope): summary).docs/dev/TechnicalDebt.mdupdated if stubbing or inferring hardware behaviour.ctest -R "guest_nptrophy".Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-06T21:55:27Z.
Progress report (
5fc8755→313459a)📈 System libraries: 87.11% (+0.03%, +1 implemented functions)
✅ 1 implemented
sceNpTrophy2ShowTrophyListImported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-06T22:40:42Z.
Thanks.
sceNpTrophy2ShowTrophyListis one of the PPSA12544 imports declared ind82bae0, but does PPSA12544 actually call it on main? A Unity PSN plugin usually shows the trophy list only when the player asks for it.A silent stub is allowed only when it unblocks a title (CONTRIBUTING), so the log line where PPSA12544 (or another title) stops at this call on main would let me merge it.
Two small format points for when you push:
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-06T22:43:34Z.
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.
main)docs/dev/TechnicalDebt.mdL33Imported from boykopovar/AnyPS5. Originally posted by Kikoarl on 2026-10-06T23:37:52Z.
@oneandonlydean Thanks for the review and the formatting pointers.
To be transparent: this was implemented based on the imported symbols declared in
d82bae0to provide the stub and unit test coverage, rather than from an active title log stopping at it onmain. You are right that Unity's PSN plugin typically only invokes the trophy list upon explicit user interaction in the UI.Since I don't have a concrete execution log of a title blocked on this call right now, I respect the project's policy of only merging stubs that actively unblock a title. I am happy to close this PR for now to keep the review queue clean (or push the formatting fixes in
TechnicalDebt.mdif you prefer to keep it ready for when someone hits it). Let me know what you prefer and I will do it by tomorrow morning.Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-07T00:02:37Z.
Thanks for being clear about where it came from. I'll close it for now, then. If a title stops at this call on main, please reopen it (or open a new PR) with the title ID and the log line, and the two TechnicalDebt fixes can go in at the same time.
Pull request closed