HLE: complete XPackage progress callback unregistration #1274
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1274"
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?
Imported from Marvisak/VIctory. Originally posted by EatCodeSleep2 on 2026-11-24T17:01:01Z.
Summary
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.
Imported from Marvisak/VIctory. Originally posted by acetonahard-code on 2026-11-24T20:57:47Z.
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.