HLE: clear DirectStorage outputs and validate call arguments #13
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/rpatty-dev--PercyScarlett!13
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-13"
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?
@davutsimsekk on GitHub · 2026-11-25 19:04 UTC · original
davutsimsekk:fix/hle-out-pointers-and-identity→main· +151 −5 · 5 files · 1 commits · openFixes the HLE argument and identity mismatches found by comparing the runtime against the GDK contracts.
DStorageGetFactory,OpenFile,CreateStatusArrayandCreateQueueclear*outbefore any failure, as_COM_Outptr_requires.XSystemGetConsoleIdreturns the documented retail value00000000.00000000.00000000.00000000.00instead of a 38-digit string.XAsyncBeginreturnsE_NO_TASK_QUEUEwhen the block has no queue and the process queue has been cleared.XUserGetGamertagreturnsE_INVALIDARGfor an unknown component instead of treating it as the classic name.Tested
cargo test -p victory-hle --lib --locked: 104 passed.cargo test -p victory-hle --test xasync_task_queue --locked: 1 passed.Not tested
AI use
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.