Module: wine Branch: oldstable Commit: ac340f82bc73209a38d1d9c9f3c4e12bbf87bdfe URL: http://source.winehq.org/git/wine.git/?a=commit;h=ac340f82bc73209a38d1d9c9f3...
Author: Olivier F. R. Dierick o.dierick@piezo-forte.be Date: Fri Jan 6 18:17:55 2017 +0100
xinput1_3: Add DECLSPEC_HOTPATCH to XInputEnable() definition.
Signed-off-by: Olivier F. R. Dierick o.dierick@piezo-forte.be Signed-off-by: Alexandre Julliard julliard@winehq.org (cherry picked from commit 1640c9ce623ba00e52c197a31650d4dfa9d7bde7) Signed-off-by: Michael Stefaniuc mstefani@winehq.org
---
dlls/xinput1_3/xinput1_3_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/xinput1_3/xinput1_3_main.c b/dlls/xinput1_3/xinput1_3_main.c index d5d6147..358116a 100644 --- a/dlls/xinput1_3/xinput1_3_main.c +++ b/dlls/xinput1_3/xinput1_3_main.c @@ -42,7 +42,7 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved) return TRUE; }
-void WINAPI XInputEnable(BOOL enable) +void WINAPI DECLSPEC_HOTPATCH XInputEnable(BOOL enable) { /* Setting to false will stop messages from XInputSetState being sent to the controllers. Setting to true will send the last vibration