Demote a very common log message from ERROR to DEBUG

This commit is contained in:
Henrik Rydgård committed 2024-07-23 22:17:06 +02:00
1 parent 5fdff10be5
commit 5d4f413085
1 file changed
+6 -1
+6 -1
View File
@@ -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);