Atrac: Use fileoffset for curOff context value.

This doesn't match my tests so far, but Sol Trigger works correctly this
way.  Since this value is primarily only used for SAS, changing it back
for now until more thoroughly testing SAS makes sense.
This commit is contained in:
Unknown W. Brackets committed 2015-11-08 12:24:30 -08:00
1 parent 6b413a808f
commit a3f7598020
1 file changed
+1 -1
+1 -1
View File
@@ -2125,7 +2125,7 @@ void _AtracGenerateContext(Atrac *atrac, SceAtracId *context) {
context->info.dataOff = atrac->dataOff;
context->info.endSample = atrac->endSample + atrac->firstSampleoffset + atrac->firstOffsetExtra();
context->info.dataEnd = atrac->first.filesize;
context->info.curOff = atrac->getFileOffsetBySample(atrac->currentSample);
context->info.curOff = atrac->first.fileoffset;
context->info.decodePos = atrac->getDecodePosBySample(atrac->currentSample);
context->info.streamDataByte = atrac->first.size - atrac->dataOff;