From: Bruno Jesus <00cpxxx@gmail.com> Subject: [PATCH 1/4] xinput1_1: Prefer builtin DLL Message-Id: <20161209084906.28276-1-00cpxxx@gmail.com> Date: Fri, 9 Dec 2016 06:49:03 -0200 These series fixes the problem where something install native xinput and then misteriosly our xinput is never called. I already did this to 1.3, now it is time for the others. It will help understand which games are xinput only. For example the game Never Alone uses xinput 9.1.0 but I did not known until +loaddll. Signed-off-by: Bruno Jesus <00cpxxx@gmail.com> --- dlls/xinput1_1/xinput1_1_main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/xinput1_1/xinput1_1_main.c b/dlls/xinput1_1/xinput1_1_main.c index 2de4317..9ed5af1 100644 --- a/dlls/xinput1_1/xinput1_1_main.c +++ b/dlls/xinput1_1/xinput1_1_main.c @@ -27,8 +27,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