From 98da48e4181441545c6a66e622f845ab33b34e5b Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 13 Oct 2009 10:03:11 +0000 Subject: [PATCH] bugfix git-svn-id: file:///home/notaz/opt/svn/PicoDrive@811 be3aeb3a-fb24-0410-a615-afba39da0efa --- pico/sound/sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5