HLE: implement synchronous XGameSave slots and unfiltered blob enumeration #2139
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!2139
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2139"
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?
@fuzeofficlal on GitHub · 2026-11-25 05:52 UTC · original
fuzeofficlal:feat/hle-xgamesave-sync-slots→main· +458 −6 · 1 files · 1 commits · openProblem
While
crates/victory-hle/src/modules/xgamesave.rsimplements the backing provider, container, blob, and atomic update operations for the async GDK entry points, six synchronous/enumeration vtable slots (0x18,0x38,0x50,0x78,0x90, and0xd8) remain wired tomissing::<N>.Changes
0x18(XGameSaveInitializeProvider): Validate and clearout, check save-root availability (NO_ACCESS), and open the provider synchronously viaProvider::open.0x38(XGameSaveGetRemainingQuota): Validateproviderandout(E_INVALIDARG) and writep.remaining() as i64.0x50(XGameSaveDeleteContainer): Validateprovider/nameand container naming (INVALID_CONTAINER_NAME) before callingdelete(&p.root, &name).0x78(XGameSaveEnumerateContainerInfoByName): Filter containers byprefix(treating null/empty as all containers and preserving early callback stop returningS_OK).0x90(XGameSaveEnumerateBlobInfo): Delegate unfiltered blob enumeration toenumerate_blobs.0xd8(XGameSaveSubmitUpdate): CommitUpdate::submitsynchronously.xgamesave::tests::blocking_calls_and_enumerations_persist_and_filter.@Marvisak on GitHub · 2026-11-25 10:51 UTC · original
Automated triage for the maintainers.
Merge candidate. This fills the blocking XGameSave slots 0x18, 0x38, 0x50 and 0xd8 and the enumeration slots 0x78 and 0x90 in
xgamesave.rs. Each one reuses the logic of its async counterpart already in main:initializematchesinitialize_async.quotamatchesquota_async.delete_containermatchesdelete_async.submitmatchessubmit_async(Update::submit).containers_by_nameandall_blobsreusereportandenumerate_blobs.So the return values match what main already returns. The test covers persistence, quota, prefix filtering, early stop and invalid arguments. CI passes. One minor point: the test-only
saves_path()seam is used byinitializebut not byinitialize_async, so the two should use the same path lookup.Generated by Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.