feat(libSceSaveData): declare sceSaveDataGetProgress with its known signature #10674
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/10674"
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 MarcZX10 on 2026-10-24T16:45:09Z.
What
Gives
sceSaveDataGetProgress, declared with no parameters, itsfloat* progressparameter. It still throws throughNotImplemented_nid_no_patch; nothing else changes.The signature is the same in the public OpenOrbis headers (
include/orbis/SaveData.h) and in shadPS4 (sceSaveDataGetProgress(float*), GPLv2, used only as a reference); it is not measured on a PS5. The debt entry indocs/dev/debt/libSceSaveData.mdtakes the function out of the list of parameterless pending declarations and records the source and the lack of measurement. Two commits: declaration, debt entry.No open PR touches libSceSaveData.
Tested
Linux, GCC,
cmake --build --target libSceSaveDatabuilds.tools/check_conventions.py --base upstream/main --head HEADpasses apart from the existingdebt-lengthwarning on the long pending-declarations entry;git diff --checkis clean. No title or hardware run: throwing stub, same behaviour as before.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 BunnyFl on 2026-11-02T01:55:28Z.
Review: APPROVED
Windows 11, WinLibs GCC 15.2.0 r7, Release. Head
351bb88ef4merged into upstream/main93dbd0f82a:libSceSaveDataandlibSceSaveData.nativebuild, andpublic_headerspasses.tools/check_conventions.py --base upstream/main --head 351bb88ef4reports only the existingdebt-lengthwarning on the long pending-declarations entry, no errors. #12625 splits that entry.The
float*signature matches the OpenOrbis and shadPS4 declarations, and the export still throws, so behaviour is unchanged.Small correction to the description: it names
docs/dev/debt/libSceSaveData.md, but the change editsdocs/dev/debt/libSceSaveData.native.md(where the entry lives).Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-02T04:57:49Z.
Review: COMMENTED
Reviewed — signature matches, build and PR text still open
The
float*signature matches at this head, but no build of the library on this exact head is on record and the PR description names the wrong debt file.What I ran
Live head
351bb88ef4d5b57c71374e11dec7e4b892baff3c(matches batch).gh pr viewforstatusCheckRollup, mergeability and body;gh pr difffile list viagh pr view --json files;gh apireads of comments and reviews;git show <head>:<path>onApi.hpp,Export.cppand the debt doc. Nothing was built or run.Results
Findings
libSceSaveData/include/Api.hpp:50andlibSceSaveData.native/Export.cpp:1310both takefloat* progress.oneandonlydean): not on record for this head. I did not build. The 2 NovBunnyFlbuild was on this head merged withupstream/main93dbd0f82a, which is a merge, not the head alone. The author should build the library target on351bb88ef4and record the head and result.BunnyFl): correct. The PR body namesdocs/dev/debt/libSceSaveData.md, but the PR changesdocs/dev/debt/libSceSaveData.native.md. The body needs the fix.Sources
github.com/boykopovar/AnyPS5@351bb88ef4/core/libs/prx/libSceSaveData/include/Api.hpp (L50)github.com/boykopovar/AnyPS5@351bb88ef4/core/libs/prx/libSceSaveData.native/Export.cpp (L1310)github.com/boykopovar/AnyPS5@351bb88ef4/docs/dev/debt/libSceSaveData.native.md (L24)Not verified