feat(libs): implement sceNpTrophy2UnregisterUnlockCallback #703
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/703"
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 adriadam10 on 2026-10-05T17:15:12Z.
What
Implements
sceNpTrophy2UnregisterUnlockCallback, the pair ofsceNpTrophy2RegisterUnlockCallback(reviewer criterion: complete pairs).int sceNpTrophy2UnregisterUnlockCallback(void)from SharpProspero (Interop/Np/NpTrophy2.cs). No reference has a body for it. prosper bindssceNpTrophy2RegisterUnlockCallbackto a plain success return, which is also whatmaindoes.main, Register accepts the callback and stores nothing, because no trophy is ever unlocked. Unregister now matches that: it returnsSCE_NP_TROPHY2_OK.guest_nptrophy2(core/libs/tests/GuestNpTrophy2.cpp), registered in the library's CMakeLists the same way as libScePlayGo, MinGW block included.Tested
Linux, GCC Release build.
ctest -R 'guest_|nptrophy': 96/96 pass. The new test fails onmain, where the stub throws (Subprocess aborted). No title tested.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-05T17:15:37Z.
Progress report (
0518f0e→f3e783b)📈 System libraries: 79.24% (+0.03%, +1 implemented functions)
✅ 1 implemented
sceNpTrophy2UnregisterUnlockCallbackImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-05T18:15: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.
main)docs/dev/TechnicalDebt.mdL87