sys_rsxaudio: only update config if the fxo is initialized

This commit is contained in:
Megamouse 2022-06-06 19:09:48 +02:00
parent ba96c6f3bb
commit 61823a5d62

View File

@ -1270,7 +1270,7 @@ namespace audio
{
void configure_rsxaudio()
{
if (g_cfg.audio.provider == audio_provider::rsxaudio)
if (g_cfg.audio.provider == audio_provider::rsxaudio && g_fxo->is_init<rsx_audio_backend>())
{
g_fxo->get<rsx_audio_backend>().update_emu_cfg();
}