fix(libSceSysmodule): return unloaded for measured internal id #19323
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/19323"
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 Cr0me1ve on 2026-11-13T03:33:04Z.
What
Implement the measured unloaded result for
sceSysmoduleIsLoadedInternal(0x800000c4): returnSCE_SYSMODULE_ERROR_UNLOADEDwhen this internal module ID is absent from the module table.Tested
Host-side build on Ubuntu 24.04 x86-64 under WSL2:
cmake --build build --target guest_sysmodule_tests guest_sysmodule_invalid_ids_tests --parallel 4Passed 3/3 host tests with:
ctest --test-dir build --output-on-failure -R "^(guest_sysmodule|guest_sysmodule_maps_scan|guest_sysmodule-invalid-ids)$"No PS5 or title was available; this was not run on console hardware.
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 PrivacyOnion on 2026-11-13T04:53:06Z.
Review: APPROVED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
faa3e2df7b:tools/check_conventions.pypassed;git diff --checkclean.guest_sysmodule_testsbuilt cleanly.guest_sysmodule,guest_sysmodule_maps_scan):core/libs/prx/libSceSysmodule/Export.cppreverted tomainand the new tests kept, the suite fails: Restoring the change makes it pass again.Looks Good To Me