Repository navigation
feat(libSceNpAuth): return the signed-out error from sceNpAuthGetAuthorizedAppCode - #4218
Conversation
3299e30 to
4bf4896
Compare
4bf4896 to
5edd2be
Compare
|
Windows test of head
Not checked: that the test fails without the change, Linux, a title run. AI-assisted (Claude Code). |
…orizedAppCode There is no PSN sign-in, so the code getter answers SCE_NP_ERROR_SIGNED_OUT instead of throwing; its parameters are unknown and not read. Minecraft (PPSA17221) calls it after its sign-in dialog and treats the result as offline play. The request, token and wait calls are left to boykopovar#3604. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
5edd2be to
09c9854
Compare
|
Checked: the new test fails without the change and passes with it; rebased onto current |
What
After its sign-in dialog Minecraft (PPSA17221) calls
sceNpAuthGetAuthorizedAppCode, which #4118 declares as a throwing stub because the title fails to load without the import. There is no PSN sign-in, so it now returnsSCE_NP_ERROR_SIGNED_OUTwithout reading its unknown parameters, and the title treats that as offline play. The request, token and wait calls this PR implemented earlier are left to #3604, which models them per request and is further along in review.sceNpAuthGetAuthorizedAppCodereturnsSCE_NP_ERROR_SIGNED_OUT.guest_np_auth_authorized_app_code_tests(guest_np_auth_authorized_app_code) checks the result on repeated calls.Tested
Fedora 44 (kernel 7.2.8, GCC 16.2.1, Ninja, Release,
BUILD_TESTING=ON), branch on #4118 rebased ontomainc36fd0a:guest_np_auth_authorized_app_codepasses;tools/check_conventions.py --base origin/mainandgit diff --checkpass. Minecraft (PPSA17221) reaches its menu and plays with the earlier, wider version of this change (Linux). Not tested on Windows.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)🤖 Generated with Claude Code