mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 14:14:47 +01:00
fix dinput hook
This commit is contained in:
parent
a52881eb72
commit
bb42bdacb7
@ -94,7 +94,7 @@ HRESULT WINAPI fake_DirectInput8Create(HINSTANCE hinst, DWORD dwVersion, REFIID
|
||||
dprintf("DirectInput8Create\n");
|
||||
|
||||
real_DirectInput8Create =
|
||||
(DIRECTINPUTCREATEAPROC)GetProcAddress(GetModuleHandle("dinput8.dll"), "DirectInput8Create");
|
||||
(DIRECTINPUT8CREATEPROC)GetProcAddress(GetModuleHandle("dinput8.dll"), "DirectInput8Create");
|
||||
|
||||
if (!real_DirectInput8Create)
|
||||
return DIERR_GENERIC;
|
||||
|
Loading…
x
Reference in New Issue
Block a user