Comment Atrac frame size limit for GTALCS

This commit is contained in:
Nab committed 2026-09-08 20:58:33 +00:00
1 parent 1da84afbb0
commit e9ae17331d
1 file changed
+1
+1
View File
@@ -174,6 +174,7 @@ static int ComputeAtracStateAndInitSecondBuffer(SceAtracIdInfo *info, u32 readSi
if (bufferSize < (u32)info->fileDataEnd) {
if (info->streamDataByte < (s32)info->sampleSize * 2) {
// sampleSize * 3 would be more accurate, but we increase tolerance for GTA LCS custom music (#20692).
return SCE_ERROR_ATRAC_SIZE_TOO_SMALL;
}
loopEnd = info->loopEnd;