Fix save mount result on failed mounts #2079
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!2079
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2079/head"
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?
@Phr3d13 on GitHub · 2026-11-02 19:01 UTC · original
Phr3d13:fix/animal-well-save-mount-result-clean→main· +22 −2 · 2 files · 1 commits · merged 2026-11-02 23:34 UTCPreserve the caller's existing mount result when a duplicate save mount returns BUSY, and cover the behavior with a regression test.
@coderabbitai[bot] on GitHub · 2026-11-02 19:07 UTC · original
Walkthrough
SaveDataMount3 now clears
mount_resultafter save-directory creation and immediately before mounting. A new test checks that a mode-32 mount attempt returnsSAVE_DATA_ERROR_BUSYwithout changing the existing mount point or its mounted-directory mapping. The test is added to the test sequence.Suggested reviewers:
nmzikChange: Bug fix
Merge Risk:
Low · up to
30866The PR fixes result preservation for a busy SaveDataMount3 call. The transferring-mount entrypoint still erases a caller's existing result on failure, which could leave the caller unable to unmount. It is a separate entrypoint and the expected behavior is unconfirmed, so this is a bounded follow-up rather than a merge blocker.
Pre-merge checks:
4 ·
1
Full details: Docstring Coverage
Explanation
Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 2 functions across 2 files.
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
@coderabbitai[bot] on GitHub · 2026-11-02 19:07 UTC · original · reviewed
Follow-up Comments
be3bca94-5477-401a-beed-c9a874d8c585Reviewing files that changed from the base of the PR and between
4a305a95eband30866a8b42.src/libs/libSaveData.cpptests/SaveDataMemoryTests.cppIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.