HLE: complete XPackage progress callback unregistration #1274
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!1274
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1274/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?
@EatCodeSleep2 on GitHub · 2026-11-24 17:01 UTC · original
EatCodeSleep2:fix/xpackage-unregister-progress-1249→main· +39 −1 · 1 files · 1 commits · merged 2026-11-25 00:13 UTCSummary
XPackageUnregisterInstallationProgressChangedwith its boolean result and documented parameters.Refs #1249, finding VIC-BT-034.
Verification
The synthetic test registers through the vtable, verifies that the unregister entry has the expected signature, and checks immediate success with both wait values. Restoring the old slot fails the pointer check before any mismatched call is made.
cargo test --locked -p victory-hle --lib(95 passed)cargo clippy --locked -p victory-hle --all-targets -- -D warningsAI-assisted. No game files used.
@acetonahard-code on GitHub · 2026-11-24 20:57 UTC · original
Heads-up: #1367, opened about 35 minutes after this one, adds the same
unregister_progressfunction and binds it to slot 0x50. The two conflict inxpackage.rs.Tested on Windows 11 with the repo toolchain, merged into current
main(ffe310e):cargo test -p victory-hlemainmain+ this PRcargo clippy --all-targets -- -D warnings, with and without--all-features: clean.cargo fmt --checkwould rewrap one block this PR adds (xpackage.rs).mainisn't rustfmt-clean either, so take it or leave it.I didn't test with game data.
Tested locally with an AI-assisted script (Claude Code); I checked the results before posting.