mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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:
parent
85ff5eb68a
commit
96d5e10549
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue