From 1b3433bb84e1ee5b9fab7dedabc9c57890ca8187 Mon Sep 17 00:00:00 2001 From: kub Date: Wed, 23 Sep 2020 19:24:49 +0200 Subject: [PATCH] mcd, fix playing wrong audio track after seek --- pico/cd/cdd.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pico/cd/cdd.c b/pico/cd/cdd.c index 35edaa80..d9707c44 100644 --- 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 */ -- 2.39.5