Silence warning
This commit is contained in:
parent
7a490aa6d6
commit
edb70936ae
|
@ -322,7 +322,11 @@ static void *dsound_init(const char *device, unsigned rate, unsigned latency,
|
|||
|
||||
RARCH_LOG("DirectSound devices:\n");
|
||||
#ifndef _XBOX
|
||||
#ifdef UNICODE
|
||||
DirectSoundEnumerate((LPDSENUMCALLBACKW)enumerate_cb, &dev);
|
||||
#else
|
||||
DirectSoundEnumerate((LPDSENUMCALLBACKA)enumerate_cb, &dev);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if (DirectSoundCreate(dev.guid, &ds->ds, NULL) != DS_OK)
|
||||
|
|
Loading…
Reference in New Issue