mcd, fix playing wrong audio track after seek
authorkub <derkub@gmail.com>
Wed, 23 Sep 2020 17:24:49 +0000 (19:24 +0200)
committerkub <derkub@gmail.com>
Wed, 23 Sep 2020 17:24:49 +0000 (19:24 +0200)
pico/cd/cdd.c

index 35edaa8..d9707c4 100644 (file)
@@ -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 */