mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
Atrac: Seek ahead only one frame at end.
If it had a partial ending frame, it should go ahead one frame, not one frame plus the partial ending.
This commit is contained in:
@@ -1098,7 +1098,7 @@ u32 _AtracDecodeData(int atracID, u8 *outbuf, u32 outbufPtr, u32 *SamplesNum, u3
|
||||
|
||||
// Still move forward, so we know that we've read everything.
|
||||
// This seems to be reflected in the context as well.
|
||||
atrac->currentSample += atrac->samplesPerFrame();
|
||||
atrac->currentSample += atrac->samplesPerFrame() - numSamples;
|
||||
}
|
||||
|
||||
*finish = finishFlag;
|
||||
|
||||
Reference in New Issue
Block a user