fixed bug where cd playing would skip a track in CDDA mode
This commit is contained in:
parent
6eae3499d2
commit
e3a0b89c33
1 changed files with 0 additions and 1 deletions
|
@ -63,7 +63,6 @@ local int CDRead(Sample *sample, void *buf, int len)
|
|||
if (len > 2352 * (CDtocentry[CDTrack+1].cdte_addr.lba - CDtocentry[CDTrack].cdte_addr.lba) - pos) {
|
||||
len = 2352 * (CDtocentry[CDTrack+1].cdte_addr.lba - CDtocentry[CDTrack].cdte_addr.lba) - pos;
|
||||
pos = 0;
|
||||
CDTrack = (CDTrack != NumCDTracks ? CDTrack + 1 : 1);
|
||||
memcpy(buf, sample->User, len);
|
||||
PlayingMusic = 0;
|
||||
return len;
|
||||
|
|
Loading…
Add table
Reference in a new issue