From ee25b2e5b283a62e3a97ac4a89d802b8cd97045c Mon Sep 17 00:00:00 2001 From: Gauvain 'GovanifY' Roussel-Tarbouriech Date: Sun, 8 Nov 2020 12:00:46 +0100 Subject: [PATCH] SPU2: switch to ConWarn for linux fallback --- pcsx2/SPU2/Linux/Config.cpp | 4 ++-- pcsx2/SPU2/Windows/Config.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pcsx2/SPU2/Linux/Config.cpp b/pcsx2/SPU2/Linux/Config.cpp index 347e0fa22b..85c86ebc20 100644 --- a/pcsx2/SPU2/Linux/Config.cpp +++ b/pcsx2/SPU2/Linux/Config.cpp @@ -169,8 +169,8 @@ void ReadSettings() if (mods[OutputModule] == nullptr) { - fwprintf(stderr, L"* SPU2: Unknown output module '%s' specified in configuration file.\n", temp.wc_str()); - fprintf(stderr, "* SPU2: Defaulting to SDL (%S).\n", SDLOut->GetIdent()); + Console.Warning("* SPU2: Unknown output module '%s' specified in configuration file.", temp.wc_str()); + Console.Warning("* SPU2: Defaulting to SDL (%s).", SDLOut->GetIdent()); OutputModule = FindOutputModuleById(SDLOut->GetIdent()); } diff --git a/pcsx2/SPU2/Windows/Config.cpp b/pcsx2/SPU2/Windows/Config.cpp index 795a9ca2c7..d38d27d2ef 100644 --- a/pcsx2/SPU2/Windows/Config.cpp +++ b/pcsx2/SPU2/Windows/Config.cpp @@ -155,7 +155,7 @@ void ReadSettings() { // Unsupported or legacy module. Console.Warning("* SPU2: Unknown output module '%s' specified in configuration file.", omodid); - Console.Warning("* SPU2: Defaulting to XAudio (%S).", XAudio2Out->GetIdent()); + Console.Warning("* SPU2: Defaulting to XAudio (%s).", XAudio2Out->GetIdent()); OutputModule = FindOutputModuleById(XAudio2Out->GetIdent()); } }