From 2f394fb7ed35454dc9fe84db606309e9b43f84a3 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Fri, 11 Jan 2013 00:59:17 +0100 Subject: [PATCH] Fix logging bug --- Core/HLE/__sceAudio.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Core/HLE/__sceAudio.cpp b/Core/HLE/__sceAudio.cpp index 89338fb447..c59567077f 100644 --- a/Core/HLE/__sceAudio.cpp +++ b/Core/HLE/__sceAudio.cpp @@ -209,12 +209,12 @@ void __AudioUpdate() outAudioQueue.push((s16)sampleL); outAudioQueue.push((s16)sampleR); } + } else { + // This happens quite a lot. There's still something slightly off + // about the amount of audio we produce. + DEBUG_LOG(HLE, "Audio outbuffer overrun! room = %i / %i", outAudioQueue.room(), (u32)outAudioQueue.capacity()); } section.unlock(); - } else { - // This happens quite a lot. There's still something slightly off - // about the amount of audio we produce. - DEBUG_LOG(HLE, "Audio outbuffer overrun! room = %i / %i", outAudioQueue.room(), (u32)outAudioQueue.capacity()); } }