From 7402e13d988d094053fe40030e4bab2c52052025 Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Wed, 2 Aug 2023 18:57:34 +0200 Subject: [PATCH] add comment --- src/directinput.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/directinput.c b/src/directinput.c index 978f269..486f487 100644 --- a/src/directinput.c +++ b/src/directinput.c @@ -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)