feat(libScePlayGo): fix error codes, implement the language mask and to-do list #238
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/238"
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-01T17:50:38Z.
What
Completes
libScePlayGo(two commits).BAD_POINTER,BAD_HANDLEandBAD_SIZEwere0x80B20004,0x80B20005and0x80B2000D, which areINVALID_ARGUMENT,NOT_INITIALIZEDandBAD_SPEED. They are now0x80B2000A,0x80B20009and0x80B2000B, as in KytyPS5, shadPS4 (playgo_types.h) and fpPS4, which agree on the whole0x80B200xxtable. A title that tells "not initialized" from "bad handle", or "bad size" from "bad speed", got the wrong answer.scePlayGoGetLanguageMaskreports every language (~0), consistent with the rest of the file: the title is fully installed.scePlayGoSetToDoListvalidates the handle, pointer, entry count, chunk IDs (from the existing chunk set) and loci, returningBAD_LOCUS(0x80B20010) for an unknown locus. Since nothing is pending, the list is not kept andscePlayGoGetToDoListkeeps returning no entries. Behaviour follows KytyPS5.libScePlayGogets aCMakeLists.txt, modelled onlibSceRtc, to register the test.Tested
Linux (CachyOS, GCC): new
guest_playgotest (core/libs/tests/GuestPlayGo.cpp) covers both new exports, their error paths and the corrected codes through existing exports. It fails with the oldBAD_POINTERvalue and with the previous stubs. Full suite passes. Windows only through CI. 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-01T17:51:05Z.
Progress report (
bc51b33→2b36dc2)📈 System libraries: 76.56% (+0.06%, +2 implemented functions)
✅ 2 implemented
scePlayGoGetLanguageMaskscePlayGoSetToDoList