Repository navigation
feat(libSceSystemService): handle parameter 100 in sceSystemServiceParamGetInt - #9591
christophermonterocortes-cr wants to merge 1 commit into
Conversation
MarcZX10
left a comment
There was a problem hiding this comment.
The implementation is internally consistent and the test covers the returned status, output value, and removal of parameter 100 from the throwing registry-backed range. The debt entry is narrowed accordingly. The open issue #9458 says the parameter's meaning and the console's answer are unknown; the report that a title once continued when the old default path wrote zero does not establish that zero is the correct general behavior. Please link primary evidence for this value (for example, a console observation or authoritative SDK/source evidence) before treating the return as implemented. Otherwise, keep the export throwing and record the investigation separately rather than converting the title's observed call into a general default.
The checklist also says Unblocks: PPSA11386 without a Game bring-up discussion number. The repository requires both the title ID and discussion link for this field. Please add the relevant discussion or change the checklist to none if this does not unblock a reported stop.
Eligibility, conventions, intake, labels, and report checks pass. Product build/test jobs are skipped. The convention unit tests listed in the description are author-reported; I did not run them locally.
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
MarcZX10
left a comment
There was a problem hiding this comment.
The current implementation makes sceSystemServiceParamGetInt(100) return success and write zero, but issue #9458 explicitly says the console meaning and answer for parameter 100 are unknown. The title continuing after the previous default path wrote zero establishes one observed caller outcome, not the general console contract this export must implement. Please provide primary evidence for the returned value (a console observation or authoritative SDK/source evidence), or keep the parameter throwing and leave the investigation unresolved until that evidence exists. The unit test currently codifies the unsupported value, so it should change with the implementation/evidence.
The checklist has Unblocks: PPSA11386 without the required Game bring-up discussion. The matching discussion is #6722 (007 First Light, PPSA11386); please list Unblocks: PPSA11386 #6722 if this is intended to fix the reported stop, otherwise none.
|
Windows paired cross-test of #9591 head1c445538d, integrated on main d6eafa5 (cc9da1a, later b36dea0 with an unrelated host-import fix). Console provenance for the zero result is reported in #7965 (PS5 firmware13.40, measured2026-10-19 inside a retail process); those are @frankea's measurements, not ours. Please coordinate the overlapping parameter100 case. Current 007 Windows startup gets past these boot-library calls and is still compiling changed pipelines; no menu/gameplay/FPS claim yet. AI-assisted: yes (Codex). Raw title data stays local. |
MarcZX10
left a comment
There was a problem hiding this comment.
The new evidence resolves my earlier question about the value: #7965 records a PS5 firmware 13.40 measurement from inside GT7 in which parameter 100 returned success and wrote 0. The independent Windows report also gives a red/green test on integrated current main d6eafa54d (the exact fixture passes with this case and fails at the old throwing range without it). The implementation/test/debt changes in this PR match that measured case, and exact-head conventions plus git diff --check pass. Hosted policy checks pass; product build jobs are skipped. I did not rerun runtime tests locally.
There is a direct duplicate implementation with open #7965: both add SYSTEM_SERVICE_PARAM_ID_100, return 0, remove 100 from the throwing range, and update the same test/debt entries. Please coordinate with Frankea and the #7965 reviewers which PR lands first, and leave only one implementation of this case on main. If #9591 lands first, #7965 should drop/rebase its duplicate; if #7965 lands first, close this PR or make it a distinct remaining fix. Record a Depends on only if the agreed plan truly stacks one on the other.
The current head is 100 commits behind main, so rebase and rerun the focused test after the integration order is settled. For the title checklist, the matching Game bring-up discussion is #5714 (007 First Light, PPSA11386); #6722 is Yakuza 0. Please link Unblocks: PPSA11386 #5714 if this resolves the parameter-100 boot stop and update that discussion's PR list. Keep Fixes: #9458 only while the issue still describes this exact remaining stop; #9459 has already addressed its earlier NetCtl stop.
|
Closing as a duplicate: #7965 already merged this exact change to |
What
In
core/libs/prx/libSceSystemService/Export.cpp, handle parameter 100 insceSystemServiceParamGetIntby writing 0 and returningSYSTEM_SERVICE_OK.SYSTEM_SERVICE_PARAM_ID_100 = 100inSystemService.hpp.sceSystemServiceParamGetIntwith default value 0, narrowing the registry-backed throwing range from 100–111 to 101–111.core/libs/tests/GuestSystemServiceLanguage.cppverifyingsceSystemServiceParamGetInt(SYSTEM_SERVICE_PARAM_ID_100, &value)returnsSYSTEM_SERVICE_OKand writes 0.docs/dev/debt/libSceSystemService.mdto document that parameter 100 writes 0.Tested
python tools/check_conventions.py --base upstream/main: All conventions checks passed.python -m unittest discover -s tools/tests -p "test_check_conventions*.py": all passed.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)sceNetCtlRegisterCallbackanswers NOT_INITIALIZED), thensceSystemServiceParamGetIntthrows on parameter 100 #9458