HLE: return NOT_SUPPORTED early for null out in QueryApiImpl without marking area missing #1199
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!1199
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1199"
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?
@geiyiliyabumo on GitHub · 2026-11-24 16:24 UTC · original
geiyiliyabumo:test/hle-xgameruntime→main· +18 −55 · 1 files · 1 commits · openSummary
Closes #1029
Full verification details and change notes are documented in #1029 (commit
8466edd, based onmainffe310e).Verification (Windows 11 x64 MSVC)
rustfmt --edition 2024 --checkon edited files: PASScargo xtask policy: PASS (zero game files/data)cargo clippy --all-targets --locked -- -D warnings(default +--features diagnosticswhere applicable): PASSAI-assisted; synthetic tests only, no game files.
@Zipettte on GitHub · 2026-11-24 18:00 UTC · original
Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at
8466edd:cargo test -p victory-hlepasses, 108 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).Tested with AI assistance (Claude).
@Marvisak on GitHub · 2026-11-25 01:19 UTC · original · edited 2026-11-25 02:29 UTC
Automated triage for the maintainers.
Needs work (small). Thanks for the update. The change now does what we suggested. In
QueryApiImpl(crates/victory-hle/src/modules/xgameruntime.rs), a nulloutreturnsNOT_SUPPORTEDbefore the lookup, so an implemented pair is no longer logged or remembered as "runtime API area not implemented". The new test fails on main and passes here.However, this head also deletes an existing, unrelated test from main:
title_stub_loads_the_runtime_dynamically. It checks that the runtime's exports resolve throughLoadLibraryExA/GetProcAddress, and that host DLLs still load from the host. That looks like a leftover from trimming the earlier tests. Please restore it and keep your new test next to it. The PR body also still points to #1029 and shows the old diffstat. A one-line description of the change would do. With the test restored, this would be a merge candidate.CI: passing.
Generated by Claude Code
@geiyiliyabumo on GitHub · 2026-11-25 01:45 UTC · original
Updated per triage feedback: kept \NOT_SUPPORTED\ as the return value for a null \out\ in \QueryApiImpl, returning early before logging or recording the API area as unimplemented, and trimmed the tests down to a single focused regression test covering the return value and missing-area cache. Rebased onto \main; \cargo test -p victory-hle --locked\ (145 passed, 0 failed), \cargo clippy -p victory-hle --all-targets --locked -- -D warnings, and \cargo xtask policy\ all pass.
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.