1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

add comment

This commit is contained in:
FunkyFr3sh 2023-08-02 18:57:34 +02:00
parent 9269b737a2
commit 7402e13d98

View File

@ -338,7 +338,7 @@ void dinput_hook_init()
DetourAttach((PVOID*)&real_DirectInputCreateA, (PVOID)fake_DirectInputCreateA);
DetourTransactionCommit();
}
/*
/* Being called from winmm for some reason
real_DirectInputCreateW = (void*)GetProcAddress(LoadLibraryA("dinput.dll"), "DirectInputCreateW");
if (real_DirectInputCreateW && real_DirectInputCreateW != fake_DirectInputCreateW)