From 27a10bc49fb6aeab9f71eaaa324b171ef222f57b Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 27 Sep 2015 10:33:46 -0700 Subject: [PATCH] Atrac: Fix AA3 dataOff value. Note: will still be wrong in savestates... --- Core/HLE/sceAtrac.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Core/HLE/sceAtrac.cpp b/Core/HLE/sceAtrac.cpp index e04a9a5e46..ee438c4c6b 100644 --- a/Core/HLE/sceAtrac.cpp +++ b/Core/HLE/sceAtrac.cpp @@ -729,8 +729,7 @@ int Atrac::AnalyzeAA3() { return ATRAC_ERROR_AA3_INVALID_DATA; } - // TODO: Wrong, probably? Need to set after "EA3" header. - dataOff = 0; + dataOff = 10 + tagSize + 96; firstSampleoffset = 0; if (endSample < 0 && atracBytesPerFrame != 0) { int atracSamplesPerFrame = (codecType == PSP_MODE_AT_3_PLUS ? ATRAC3PLUS_MAX_SAMPLES : ATRAC3_MAX_SAMPLES);