SPU2: default to XAudio when failing to read conf

This commit is contained in:
Gauvain 'GovanifY' Roussel-Tarbouriech 2020-11-06 13:00:38 +01:00 committed by lightningterror
parent 5a8c75e4a8
commit f9b42716d2
1 changed files with 3 additions and 1 deletions

View File

@ -154,7 +154,9 @@ void ReadSettings()
if (mods[OutputModule] == nullptr)
{
// Unsupported or legacy module.
fwprintf(stderr, L"* SPU2: Unknown output module '%s' specified in configuration file.\n", omodid);
Console.Warning("* SPU2: Unknown output module '%s' specified in configuration file.", omodid);
Console.Warning("* SPU2: Defaulting to XAudio (%S).", XAudio2Out->GetIdent());
OutputModule = FindOutputModuleById(XAudio2Out->GetIdent());
}
}