feat(libSceSaveData): declare sceSaveDataGetProgress with its known signature #10674

Merged
MarcZX10 merged 3 commits from upstream-pr/10674 into main 2026-11-02 10:23:40 +00:00
MarcZX10 commented 2026-10-24 16:45:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-24T16:45:09Z.


What

Gives sceSaveDataGetProgress, declared with no parameters, its float* progress parameter. It still throws through NotImplemented_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 in docs/dev/debt/libSceSaveData.md takes 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 libSceSaveData builds. tools/check_conventions.py --base upstream/main --head HEAD passes apart from the existing debt-length warning on the long pending-declarations entry; git diff --check is clean. No title or hardware run: throwing stub, same behaviour as before.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4997232938 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10674). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-24T16:45:09Z. --- ### What Gives `sceSaveDataGetProgress`, declared with no parameters, its `float* progress` parameter. It still throws through `NotImplemented_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 in `docs/dev/debt/libSceSaveData.md` takes 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 libSceSaveData` builds. `tools/check_conventions.py --base upstream/main --head HEAD` passes apart from the existing `debt-length` warning on the long pending-declarations entry; `git diff --check` is clean. No title or hardware run: throwing stub, same behaviour as before. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
BunnyFl commented 2026-11-02 01:55:28 +00:00 (Migrated from github.com)

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 351bb88ef4 merged into upstream/main 93dbd0f82a: 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).

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5731354524 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10674#pullrequestreview-5731354524). Originally posted by [BunnyFl](https://github.com/BunnyFl) on 2026-11-02T01:55:28Z. **Review:** APPROVED --- Windows 11, WinLibs GCC 15.2.0 r7, Release. Head 351bb88ef4 merged into upstream/main 93dbd0f82a: `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 commented 2026-11-02 04:57:49 +00:00 (Migrated from github.com)

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 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:50 and libSceSaveData.native/Export.cpp:1310 both take float* progress.
  • Build on the head (1 Nov, oneandonlydean): not on record for this head. I did not build. The 2 Nov BunnyFl build was on this head merged with upstream/main 93dbd0f82a, which is a merge, not the head alone. The author should build the library target on 351bb88ef4 and record the head and result.
  • Debt file (2 Nov, BunnyFl): correct. The PR body names docs/dev/debt/libSceSaveData.md, but the PR changes docs/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.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5732251148 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10674#pullrequestreview-5732251148). Originally posted by [MarcZX10](https://github.com/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 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:50` and `libSceSaveData.native/Export.cpp:1310` both take `float* progress`. - Build on the head (1 Nov, `oneandonlydean`): not on record for this head. I did not build. The 2 Nov `BunnyFl` build was on this head merged with `upstream/main` `93dbd0f82a`, which is a merge, not the head alone. The author should build the library target on `351bb88ef4` and record the head and result. - Debt file (2 Nov, `BunnyFl`): correct. The PR body names `docs/dev/debt/libSceSaveData.md`, but the PR changes `docs/dev/debt/libSceSaveData.native.md`. The body needs the fix. ## Sources - https://github.com/boykopovar/AnyPS5/blob/351bb88ef4d5b57c71374e11dec7e4b892baff3c/core/libs/prx/libSceSaveData/include/Api.hpp#L50 - https://github.com/boykopovar/AnyPS5/blob/351bb88ef4d5b57c71374e11dec7e4b892baff3c/core/libs/prx/libSceSaveData.native/Export.cpp#L1310 - https://github.com/boykopovar/AnyPS5/blob/351bb88ef4d5b57c71374e11dec7e4b892baff3c/docs/dev/debt/libSceSaveData.native.md#L24 ## Not verified - That the library builds on this head. - The OpenOrbis and shadPS4 signature claims: external sources, not checked.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!10674
No description provided.