diff --git a/stepmania/src/arch/Sound/RageSoundDriver_DSound.cpp b/stepmania/src/arch/Sound/RageSoundDriver_DSound.cpp index cac337b523..211448ac9f 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_DSound.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_DSound.cpp @@ -45,7 +45,7 @@ void RageSound_DSound::MixerThread() while(!SOUNDMAN && !shutdown) Sleep(10); if(!SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_ABOVE_NORMAL)) - LOG->Warn("Failed to set sound thread priority: %i", GetLastError()); /* XXX */ + LOG->Warn(werr_ssprintf(GetLastError(), "Failed to set sound thread priority")); while(!shutdown) { VDCHECKPOINT; diff --git a/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp b/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp index 572d1ea6e3..4ba30c6924 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_DSound_Software.cpp @@ -39,7 +39,7 @@ void RageSound_DSound_Software::MixerThread() while(!SOUNDMAN && !shutdown) Sleep(10); if(!SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_ABOVE_NORMAL)) - LOG->Warn("Failed to set sound thread priority: %i", GetLastError()); /* XXX */ + LOG->Warn(werr_ssprintf(GetLastError(), "Failed to set sound thread priority")); while(!shutdown) { Sleep(10); diff --git a/stepmania/src/arch/Sound/RageSoundDriver_WaveOut.cpp b/stepmania/src/arch/Sound/RageSoundDriver_WaveOut.cpp index 5929a423b8..04980327b4 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_WaveOut.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_WaveOut.cpp @@ -51,7 +51,7 @@ void RageSound_WaveOut::MixerThread() while(!SOUNDMAN && !shutdown) Sleep(10); if(!SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_ABOVE_NORMAL)) - LOG->Warn("Failed to set sound thread priority: %i", GetLastError()); /* XXX */ + LOG->Warn(werr_ssprintf(GetLastError(), "Failed to set sound thread priority")); while(!shutdown) { while(GetPCM())