sys_rsxaudio: only update config if the fxo is initialized
This commit is contained in:
@@ -1270,7 +1270,7 @@ namespace audio
|
|||||||
{
|
{
|
||||||
void configure_rsxaudio()
|
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();
|
g_fxo->get<rsx_audio_backend>().update_emu_cfg();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user