[PATCH] xinput1_3: Prefer builtin DLL

Bruno Jesus 00cpxxx at gmail.com
Sat Oct 29 20:13:25 CDT 2016


Despite fixing a bug I can't see any reason to prefer native version since it is probably never going to work anyway.

Fixes bug https://bugs.winehq.org/show_bug.cgi?id=41428

Signed-off-by: Bruno Jesus <00cpxxx at gmail.com>
---
 dlls/xinput1_3/xinput1_3_main.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/xinput1_3/xinput1_3_main.c b/dlls/xinput1_3/xinput1_3_main.c
index 04732eb..5f88ca1 100644
--- a/dlls/xinput1_3/xinput1_3_main.c
+++ b/dlls/xinput1_3/xinput1_3_main.c
@@ -43,8 +43,6 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
 {
     switch(reason)
     {
-    case DLL_WINE_PREATTACH:
-        return FALSE; /* prefer native version */
     case DLL_PROCESS_ATTACH:
         DisableThreadLibraryCalls(inst);
         break;
-- 
2.9.3




More information about the wine-patches mailing list