diff options
| author | ubiquitarianism <283527159+ubiquitarianism@users.noreply.github.com> | 2026-11-23 22:36:20 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-23 22:36:20 -0500 |
| commit | 6b74e8ecfad26005a16a2f466c64f96305d3358d (patch) | |
| tree | 8be8d3e45373c3013a6b28bd4206474f469607bc /runtime/test/gameinput_test.cpp | |
| parent | 61653ac772095681cfa0152a2c3d31eddeef2948 (diff) | |
| parent | e0f76d28b5e84f69c8bd05a3b6fb414438f7e2b4 (diff) | |
Merge pull request #127 from Mumogg/gameinput-ordinal-1
gameinput: serve GameInput.dll's ordinal 1 again (RT-GAMEINPUT-ORD1)
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
| -rw-r--r-- | runtime/test/gameinput_test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/test/gameinput_test.cpp b/runtime/test/gameinput_test.cpp index 4c48a35e6..93c48518b 100644 --- a/runtime/test/gameinput_test.cpp +++ b/runtime/test/gameinput_test.cpp | |||
| @@ -1708,6 +1708,8 @@ int main() { | |||
| 1708 | check(create != nullptr, "gameinput.dll!GameInputCreate is registered"); | 1708 | check(create != nullptr, "gameinput.dll!GameInputCreate is registered"); |
| 1709 | check(rt::shims::find("xgameruntime.dll", "GameInputCreate") == reinterpret_cast<void*>(create), | 1709 | check(rt::shims::find("xgameruntime.dll", "GameInputCreate") == reinterpret_cast<void*>(create), |
| 1710 | "xgameruntime.dll!GameInputCreate is the same function"); | 1710 | "xgameruntime.dll!GameInputCreate is the same function"); |
| 1711 | check(rt::shims::find("gameinput.dll", "#1") == reinterpret_cast<void*>(create), | ||
| 1712 | "gameinput.dll!#1 (the ordinal import) is the same function"); | ||
| 1711 | if (!create) return 1; | 1713 | if (!create) return 1; |
| 1712 | 1714 | ||
| 1713 | IGameInput* input = nullptr; | 1715 | IGameInput* input = nullptr; |