From: notaz Date: Tue, 13 Oct 2009 10:03:11 +0000 (+0000) Subject: bugfix X-Git-Tag: v1.85~239 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98da48e4181441545c6a66e622f845ab33b34e5b;p=picodrive.git bugfix git-svn-id: file:///home/notaz/opt/svn/PicoDrive@811 be3aeb3a-fb24-0410-a615-afba39da0efa --- diff --git a/pico/sound/sound.c b/pico/sound/sound.c index fbb942a6..5a9b8b33 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) {