X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fsound%2Fsound.c;h=5a9b8b3399557e76f2bfa651987ae673a5defd00;hb=98da48e4181441545c6a66e622f845ab33b34e5b;hp=fbb942a61e29c041766b9bef473be311fff09a4b;hpb=41397701210c08b9d25ca66cbe372c7ed86d6927;p=picodrive.git diff --git a/pico/sound/sound.c b/pico/sound/sound.c index fbb942a..5a9b8b3 100644 --- a/pico/sound/sound.c +++ b/pico/sound/sound.c @@ -247,7 +247,7 @@ PICO_INTERNAL void cdda_start_play(void) lba_offset += Pico_mcd->TOC.Tracks[index].Offset; // find the actual file for this track - for (i = index; i >= 0; i--) + for (i = index; i > 0; i--) if (Pico_mcd->TOC.Tracks[i].F != NULL) break; if (Pico_mcd->TOC.Tracks[i].F == NULL) {