diff options
| author | Gustavo Kissel <kisselgustavo@gmail.com> | 2026-11-23 13:13:19 -0300 |
|---|---|---|
| committer | Mumogg <104529023+Mumogg@users.noreply.github.com> | 2026-11-23 20:23:21 -0600 |
| commit | e0f76d28b5e84f69c8bd05a3b6fb414438f7e2b4 (patch) | |
| tree | 05a01b8fe80c7311e2bc6b027ffc4ee48147f768 /runtime/src/thread_stacks.cpp | |
| parent | 9ec34cdff41b19d7671bc260e5f40dc69790d905 (diff) | |
gameinput: serve GameInput.dll's ordinal 1, the retail executable's GameInputCreate import
The retail executable imports GameInputCreate from GameInput.dll by ordinal 1. The loader looks ordinal imports up
as "#1", which the shim table did not have, so the import bound to the host's GameInput.dll. On Windows the
installed GameInput answers; under Wine it is the builtin stub, the call fails and the title stops on its result.
The alias maps #1 to the same GameInputCreate, and gameinput_test checks it.
(cherry picked from commit 5e45c7da942d7ac08fc57561e9ed924bcfc76476)
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions