improve mingw build - always hook dinput

This commit is contained in:
FunkyFr3sh 2023-11-04 04:45:41 +01:00
parent d95423f5e6
commit c43f38fad3
2 changed files with 15 additions and 8 deletions

View file

@ -607,13 +607,6 @@ void hook_init(BOOL initial_hook)
/* Switch to 3 if we can be sure that ddraw.dll will not be unloaded from the process */
g_config.hook = 3;
}
#if defined(__GNUC__)
if (g_config.hook == 4)
{
g_config.hook = 3;
}
#endif
}
if (!g_hook_active || g_config.hook == 3 || g_config.hook == 4)