Vincent Povirk : xinput1_3: Make XInputGetState patchable.

Alexandre Julliard julliard at winehq.org
Fri Jan 10 14:44:53 CST 2014


Module: wine
Branch: stable
Commit: 15da8cc6f9b2e0cfa178e3729eb66abf68f4e497
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=15da8cc6f9b2e0cfa178e3729eb66abf68f4e497

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Fri Oct 25 16:18:24 2013 -0500

xinput1_3: Make XInputGetState patchable.

(cherry picked from commit b29c2b050defc9137f88d5927edb5675c8f4a5f5)

---

 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 a2a83dd..63f725b 100644
--- a/dlls/xinput1_3/xinput1_3_main.c
+++ b/dlls/xinput1_3/xinput1_3_main.c
@@ -65,7 +65,7 @@ DWORD WINAPI XInputSetState(DWORD dwUserIndex, XINPUT_VIBRATION* pVibration)
     return ERROR_BAD_ARGUMENTS;
 }
 
-DWORD WINAPI XInputGetState(DWORD dwUserIndex, XINPUT_STATE* pState)
+DWORD WINAPI DECLSPEC_HOTPATCH XInputGetState(DWORD dwUserIndex, XINPUT_STATE* pState)
 {
     static int warn_once;
 




More information about the wine-cvs mailing list