improve mingw build - always hook dinput
This commit is contained in:
parent
d95423f5e6
commit
c43f38fad3
2 changed files with 15 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue