winealsa.drv: Remove dlopen call.

This commit is contained in:
Maarten Lankhorst 2010-04-21 22:56:28 +02:00 committed by Alexandre Julliard
parent 1db85c132e
commit 3beb1b6a11

View file

@ -972,12 +972,6 @@ LONG ALSA_WaveInit(void)
HKEY key = 0;
int i;
if (!wine_dlopen("libasound.so.2", RTLD_LAZY|RTLD_GLOBAL, NULL, 0))
{
ERR("Error: ALSA lib needs to be loaded with flags RTLD_LAZY and RTLD_GLOBAL.\n");
return -1;
}
/* @@ Wine registry key: HKCU\Software\Wine\Alsa Driver */
rc = RegOpenKeyExA(HKEY_CURRENT_USER, "Software\\Wine\\Alsa Driver", 0, KEY_QUERY_VALUE, &key);
if (rc == ERROR_SUCCESS)