Repository navigation
fix(libs): libs funcs abi debt 2026 10 20 - #9137
Conversation
Progress report (1698d1e → 68aeef2)📈 System libraries: 42.33% (+0.23%, +63 implemented, +22 declared, -2 reverted functions) ✅ 63 implemented
⚪ 63 behaviourally empty (constant return or throw)
🆕 22 declared as stubs
|
| Library | Name |
|---|---|
| libSceSystemService | sceSystemServiceParamGetInt |
| libSceVoiceQoS | sceVoiceQoSGetLocalEndpointAttribute |
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
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.
|
|
Two of the exports this sweep retypes are implemented in our open pull requests, so noting the overlap here for the ordering: both PRs keep their behavior and will adopt these signatures on whichever side rebases second — no #7658 (libSceHmd2, the reprojection session — approved, awaiting merge) implements the five with the console-measured behavior: #8399 (libSceUsbStorage, the no-device path — reviewed, Windows-validated) implements nine per shadPS4 @ f68923fe with SharpProspero @ 5dfdb4b0 for the record layout. Where the sweep's signatures differ from what the PR built on, we will take the sweep's: If it is easier the other way round, both PRs are also fine to merge first and the sweep's rebase drops the five Hmd2 marker hunks it retypes (its |
|
@boykopovar Thank you for the ABI corrections. Comparing the shared Font files at 9fa5656 against current main: #8633 and #8997 combine cleanly. #8250 has only an adjacent debt-entry conflict; Render.cpp combines cleanly. The fixes address different behavior. Which merge order would you prefer? I can rebase our branches accordingly. |
@vittoriosalvadore |
…Ifconfig and sceNetShowNetstat Since boykopovar#9137 both throw after sceNetInit. A PS5 on firmware 13.40 returns 0 from each and prints plain-text tables to stdout. They now print the console's layout with what the emulator knows: ifconfig an eth0 block from the host interface sceNetCtlGetInfo reports (the same MAC, address, netmask and MTU), the console's lo0 block and the DNS servers; netstat the header and one entry per socket and epoll of the title, with the self and non-blocking flags, addresses, buffer sizes and the names given to sceNetSocket and sceNetEpollCreate, which are now kept. The debt entry lists what the console prints that is left out. guest_sce_net captures both outputs: the lo0 block and DNS section, a named unbound UDP socket, a non-blocking listening TCP socket bound to 127.0.0.1, an epoll, a 40-character name cut to 31, and the entries gone after close.
…ueries The work-memory entry said the bodies of all its queries remain unimplemented, but sceHmdGetDistortionWorkMemoryAlign and Size return 0x400 and 0x20000 since db25758 (#8307), and their sceHmdDistortionGetWorkMemory* aliases since fa916ae (#8256). Only capture start, separate-mode open, crash-report cancellation and the mirroring aspect debug setter still throw. The device and sensor query entry said its protected bodies are unchanged, but sceHmdGetFieldOfView, sceHmdGetInertialSensorData and sceHmdGetAssyError answer without a headset since fe6aba8 and a569d07 (#8256), before 7b97d75 (#9137) wrote the entry. Only the internal device-information, distortion-parameter, status-report and DFU-status queries still throw.
…close sceMoveClose returns INVALID_HANDLE for a handle that is not open since 808d67e (#8252), and sceMoveOpen returns ALREADY_OPENED for an open slot since c478789 (#8252) and throws only for users other than the initial user since 95ea06e (#8125). The sentence came from 8a1bd36 (#9137), which left both bodies alone; the rest of the entry already describes them.
…he throwing calls The LncUtil collapsed dispatch entry, written by d4f2911 and 50c8103 (#9137), said its protected service implementations remain unchanged. Of the functions whose signatures d4f2911 restored, sceSystemServiceGetAppId answers for the running title since 7c83407 (#8354) and sceLncUtilGetAppId since 6950410 (#10801). Only the status, GPU-crash, dialog-activation, shared-memory, continue and VSH-ready calls still throw.
What
Corrected signatures or behaviour of 1,702 existing exported functions across 96 libraries. Added 85 typed export wrappers. Unimplemented functions retain
NotImplemented_nid_no_patch(__func__).Additional changes: two internal functions in libSceAudiodec, shared structures and validation in libSceCommonDialog, input validation in libSceMouse.
Updated 94 technical debt files and removed resolved entries. No technical debt files added or deleted.
Tested
Not tested after rebase.
Updated 97 existing test files: 96 C++ files and one Python file. Added regression checks and adjusted assertions for corrected signatures and behaviour. No test files added.
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)