mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Comment Atrac frame size limit for GTALCS
This commit is contained in:
1 parent
1da84afbb0
commit
e9ae17331d
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user