mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Initialize device list after initializing audio driver
This commit is contained in:
parent
d20a2edcb4
commit
3f526ed625
3
driver.c
3
driver.c
@ -338,7 +338,10 @@ static void init_drivers(int flags)
|
||||
}
|
||||
|
||||
if (flags & DRIVER_AUDIO)
|
||||
{
|
||||
audio_driver_ctl(RARCH_AUDIO_CTL_INIT, NULL);
|
||||
audio_driver_ctl(RARCH_AUDIO_CTL_DEVICES_LIST_NEW, NULL);
|
||||
}
|
||||
|
||||
/* Only initialize camera driver if we're ever going to use it. */
|
||||
if ((flags & DRIVER_CAMERA) && camera_driver_ctl(RARCH_CAMERA_CTL_IS_ACTIVE, NULL))
|
||||
|
Loading…
x
Reference in New Issue
Block a user