From 5d4f41308565dadac2efa0932bdaadc2387119c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Tue, 23 Jul 2024 14:33:39 +0200 Subject: [PATCH] Demote a very common log message from ERROR to DEBUG --- Core/HLE/sceAtrac.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Core/HLE/sceAtrac.cpp b/Core/HLE/sceAtrac.cpp index dc5652acd11e..4dcf94e4418b 100644 --- a/Core/HLE/sceAtrac.cpp +++ b/Core/HLE/sceAtrac.cpp @@ -677,7 +677,12 @@ static u32 sceAtracSetLoopNum(int atracID, int loopNum) { return err; } if (atrac->GetTrack().loopinfo.size() == 0) { - return hleLogError(Log::ME, ATRAC_ERROR_NO_LOOP_INFORMATION, "no loop information"); + if (loopNum == -1) { + // This is very common and not really a problem. + return hleLogDebug(Log::ME, ATRAC_ERROR_NO_LOOP_INFORMATION, "no loop information to write to!"); + } else { + return hleLogError(Log::ME, ATRAC_ERROR_NO_LOOP_INFORMATION, "no loop information to write to!"); + } } atrac->SetLoopNum(loopNum);