Commit graph

4 commits

Author SHA1 Message Date
Jack
f1288350c7
hooking: run callbacks for imported modules (#780)
Previously we only ran callbacks for modules loaded using WinAPI. This now also runs callbacks for modules imported by those loaded by WinAPI. This fixes callbacks for miles and bink dlls.
2024-08-27 08:48:33 +02:00
Barnaby
9615ba206d
Try loading XInput 1.4 before trying to load 9.1.0 (#769)
XInput 9.1.0 has some limitations to do with XInputGetCapabilities that may make the game behave differently when we use it as a replacement for XInput 1.3
XInput 1.4 doesn't have this issue, which means that if it works correctly we should always prioritise using this version over 9.1.0
2024-08-23 22:05:54 +02:00
Jack
bebda79491
Fix casing of KERNEL32.DLL (#768)
This is a certified windows moment. Case insensitive but also not sometimes I guess
2024-08-19 01:06:48 +02:00
Jack
5c730b0bb3
Refactor DLL callbacks (#665)
Cherry-picked from primedev and slightly modified

Co-authored-by: F1F7Y <filip.bartos07@proton.me>
2024-08-18 12:21:06 +02:00