feat(libkernel_sys): implement sceKernelGetProsperoCompiledSdkVersion and sceKernelGetPs4CompiledSdkVersion #13129
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/13129"
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 iAbdulrrahman on 2026-10-30T03:43:29Z.
What
Implement
sceKernelGetProsperoCompiledSdkVersionandsceKernelGetPs4CompiledSdkVersioninlibkernel_sysby reading the 32-bit SDK versions from the process parameters buffer (at offsets 0x14 and 0x10 respectively) and validating null pointers withSCE_KERNEL_ERROR_EINVAL.The process parameters layout source (offset
0x10for PS4 SDK version,0x14for PS5 Prospero SDK version) comes from the PS5 payload SDK, and theint (std::int32_t*)signature andSCE_KERNEL_ERROR_EINVALerror for null output follow shadPS4 andsceKernelGetCompiledSdkVersion. The test uses a synthetic parameters block and no title or console was checked.Tested
Windows 11,
guest_kernel_sys_sdk_version_tests(1/1 passed viactest --test-dir build -R "^guest_kernel_sys_sdk_version$" -V). The test uses a synthetic parameters block; no title or console was checked.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)