mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Atrac: Correct stream offset after non-loop end.
This commit is contained in:
parent
036c965cf5
commit
3130b7a489
1 changed files with 3 additions and 0 deletions
|
@ -1030,7 +1030,10 @@ void Atrac::CalculateStreamInfo(u32 *outReadOffset) {
|
|||
|
||||
if (readOffset >= first_.filesize) {
|
||||
if (bufferState_ == ATRAC_STATUS_STREAMED_WITHOUT_LOOP) {
|
||||
// We don't need anything more, so all 0s.
|
||||
readOffset = 0;
|
||||
first_.offset = 0;
|
||||
first_.writableBytes = 0;
|
||||
} else {
|
||||
readOffset = dataOff_;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue