mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 01:59:34 +01:00
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:
1 parent
6b413a808f
commit
a3f7598020
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user