Signed-off-by: Andrew Eikum aeikum@codeweavers.com ---
Due to its pointer manipulation, 64-bit native xaudio2 DLLs are known to be broken in Wine. Since native can be installed easily with the directx runtimes, we should require users to explicitly choose to run it, to help avoid these crashes.
dlls/xaudio2_7/xaudio_dll.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/dlls/xaudio2_7/xaudio_dll.c b/dlls/xaudio2_7/xaudio_dll.c index 0682a5f3b3..28cf98565b 100644 --- a/dlls/xaudio2_7/xaudio_dll.c +++ b/dlls/xaudio2_7/xaudio_dll.c @@ -89,8 +89,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD reason, void *pReserved)
switch (reason) { - case DLL_WINE_PREATTACH: - return FALSE; /* prefer native version */ case DLL_PROCESS_ATTACH: instance = hinstDLL; DisableThreadLibraryCalls( hinstDLL );