Files
DroidDeck/tools
maxjivi05 f54dba2b96 fix(game-env): keep x64 DLLs that only x64 code imports in ARM64 prefixes
The 0.7.1 prefix repair treated every plain x64 DLL in an ARM64EC prefix's
system32 as foreign and swapped it for Proton's builtin, and the component
filter stopped placing such files. x64 code loads x64 DLLs under ARM64EC, so
this broke games whose x64 graphics code imports the D3DX9/D3DCompiler
redistributable: the installer's copies worked on the first launch and were
replaced on the next one.

An x64 DLL is now foreign only when a Proton builtin that stays loaded imports
it (read from the builtins' import and delay-import tables, closed over the
set of x64 DLLs present). Copies replaced by 0.7.1 are restored from their
.foreign-arch backup when the rule allows them.
2026-11-14 20:40:41 -05:00
..