1
0
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:
FunkyFr3sh 2021-05-02 16:21:26 +02:00
parent a52881eb72
commit bb42bdacb7

View File

@ -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;