notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e721f80
)
mcd, fix playing wrong audio track after seek
author
kub
<derkub@gmail.com>
Wed, 23 Sep 2020 17:24:49 +0000
(19:24 +0200)
committer
kub
<derkub@gmail.com>
Wed, 23 Sep 2020 17:24:49 +0000
(19:24 +0200)
pico/cd/cdd.c
patch
|
blob
|
blame
|
history
diff --git
a/pico/cd/cdd.c
b/pico/cd/cdd.c
index
35edaa8
..
d9707c4
100644
(file)
--- a/
pico/cd/cdd.c
+++ b/
pico/cd/cdd.c
@@
-1212,6
+1212,11
@@
void cdd_process(void)
/* PCM AUDIO track */
fseek(cdd.toc.tracks[index].fd, (lba * 2352) - cdd.toc.tracks[index].offset, SEEK_SET);
}
+#else
+ else
+ {
+ cdd_change_track(index, lba);
+ }
#endif
/* no audio track playing */