HLE: route kernelbase.dll registry exports through device_type #2343
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!2343
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2343"
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?
@windfallscout on GitHub · 2026-11-25 11:12 UTC · original
windfallscout:fix/hle-kernelbase-2140→main· +107 −1 · 1 files · 1 commits · openCloses #2140.
Registry lookups through kernelbase.dll (static import or GetProcAddress) missed the emulated ConsoleMode key because device_type::module() only listed advapi32.dll and the api-set. This adds kernelbase.dll to the dlls list so those lookups reach the device-type overrides like advapi32.dll does; other kernelbase exports still resolve to kernel/files/host as before.
Synthetic tests only, no game data, no GPU (per asset-policy).
Verification (cargo, target x86_64-pc-windows-msvc, CARGO_FEATURE_PURE=1):
AI-assisted (Gemini hydrogen worker, human reviewed); no game data involved.
@Marvisak on GitHub · 2026-11-25 15:27 UTC · original
Automated triage for the maintainers.
Proposed close (duplicate). This makes the same one-line change (
kernelbase.dlladded toxsystem::device_type::module().dlls) as #2141, opened earlier for the same issue #2140. #2141's test also covers theGetProcAddresspath throughGetModuleHandleW("kernelbase.dll")and the registry API set, which is how the issue says the miss happens; this PR checks only resolver classification and direct calls. If something here is missing from #2141, a comment there is the best place for it. CI: not run.This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the label.
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.