refactor(libSceSystemService): throw the documented unknown-title rejection #14202
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/14202"
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 rooklz on 2026-10-31T23:13:34Z.
What
docs/dev/debt/libSceSystemService.mdsays the console's results for a title ID other than the running title are unknown, sosceSystemServiceGetAppId,sceLncUtilGetAppIdandsceLncUtilIsAppLaunchedthrow for them. The sharedRunningAppIdhelper inExport.cppstill did that throughNotImplemented_nid_no_patch, while its sibling rejection helpers (CopyRunningTitleId,AnswerForRunningApp,ListRunningBigApp) already throw explicitly.This replaces that marker with an explicit
std::runtime_errorcarrying the same message. The running-title answers, the invalid-title-1/0x80940005answers and the null-output checks are unchanged; calls for another title still throw.Tested
cmake -S . -B build-systemservice -G Ninja -DCMAKE_BUILD_TYPE=Release -DANYPS5_RELINKER_ONLY=ON -DBUILD_TESTING=ONandcmake --build build-systemservice --parallel: rc 0.ctest --test-dir build-systemservice --output-on-failure: 542/542 passed, 0 failed (119.96 s).g++ -std=c++20 -fsyntax-onlyoncore/libs/prx/libSceSystemService/Export.cppandcore/libs/tests/GuestSystemService.cpp: rc 0.python3 tools/progress.py: libSceSystemService done 93 -> 96, todo 491 -> 488; libraries 8656/33237 (26.04%) -> 8659/33237 (26.05%).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T10:16:24Z.
Review: APPROVED
Reviewed — looks good
The reviewed change replaces the unknown-title marker with an explicit exception while preserving the existing result for malformed IDs and the running title.
What I ran
Reviewed head
30696995c4fd2a08a7b503eb6a8184fbf1af0df9. Read the prepared description, commit summary, manifest, diff, and the changed function plus its neighboring helpers inExport.cpp. No commands or tests were run.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
files.jsonand a directory listing of the preparedfiles/bundle were not available through the reader; the manifest lists one changed file, and its relevant source range was read. Build, test, and console behavior were not verified during this review. The author's reported checks were not rerun.To get this to a good state
Nothing is required.
Pull request closed