Repository navigation
feat(libSceSaveData): declare sceSaveDataGetProgress with its known signature - #10674
Conversation
|
Merged this head onto
AI-assisted: yes (Claude Code); results above were run on this machine. |
|
@MarcZX10 Your definition of |
62b1aad to
931fe90
Compare
|
Rebased onto current |
|
Windows run of this head
AI-assisted: yes (Claude Code) |
931fe90 to
1842be8
Compare
|
@MarcZX10 Merge order note (CONTRIBUTING, overlap rule): #12625 implements |
|
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.
|
|
The new PR-overlap check identifies #12699 as editing the same This makes the PR description's “No open PR touches libSceSaveData” statement stale. Please coordinate with #12699's author on which change lands first. If this PR goes first, ask the second PR to declare |
…ignature It still throws through NotImplemented_nid_no_patch; the parameter is the float* of the OpenOrbis headers and shadPS4.
… public header main declares it with an empty parameter list in Api.hpp, which conflicts with the definition.
1842be8 to
351bb88
Compare
Re-checked — new head, declaration matches the definitionThe concern about The earlier reports refer to older heads: the Windows run and the compile error were on Checked on Dependency: #12625 is listed as depending on this PR in the comment above, but its description has no |
|
The declaration and definition of The earlier request also asked for a build of the library on the rebased head, since the declaration audit does not check parameter compatibility. The latest report explicitly covers a syntax check only, and the Windows build covers older head |
BunnyFl
left a comment
There was a problem hiding this comment.
Windows 11, WinLibs GCC 15.2.0 r7, Release. Head 351bb88 merged into upstream/main 93dbd0f: libSceSaveData and libSceSaveData.native build, and public_headers passes. tools/check_conventions.py --base upstream/main --head 351bb88ef4 reports only the existing debt-length warning 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 edits docs/dev/debt/libSceSaveData.native.md (where the entry lives).
MarcZX10
left a comment
There was a problem hiding this comment.
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 view for statusCheckRollup, mergeability and body; gh pr diff file list via gh pr view --json files; gh api reads of comments and reviews; git show <head>:<path> on Api.hpp, Export.cpp and the debt doc. Nothing was built or run.
Results
| Check | Result | Note |
|---|---|---|
| conventions | SUCCESS | hosted |
| library-portability | SUCCESS | hosted |
| windows | SUCCESS | hosted |
| eligibility, labels, report | SUCCESS | hosted |
| linux | SKIPPED | hosted skip |
Findings
- Signature (1 Nov): matches.
libSceSaveData/include/Api.hpp:50andlibSceSaveData.native/Export.cpp:1310both takefloat* progress. - Build on the head (1 Nov,
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. - Debt file (2 Nov,
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
Not verified
- That the library builds on this head.
- The OpenOrbis and shadPS4 signature claims: external sources, not checked.
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)