summaryrefslogtreecommitdiff
path: root/apps/playlist.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-08-07 06:04:24 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-08-07 06:04:24 +0000
commit8abcf1bd20d8568c3b39f97fb7ee9560b132f2a3 (patch)
tree5a6fbbaf5e2b567dad7263ef74add58585d91ae4 /apps/playlist.c
parent7b95b82e2e9e8a4e0b030fad425f82ef20eb1c68 (diff)
downloadrockbox-8abcf1bd20d8568c3b39f97fb7ee9560b132f2a3.tar.gz
rockbox-8abcf1bd20d8568c3b39f97fb7ee9560b132f2a3.zip
Changed playlist API again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1575 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.c')
-rw-r--r--apps/playlist.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index 465470c069..44d1e34349 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -153,13 +153,15 @@ char* playlist_next(int steps)
153 } 153 }
154} 154}
155 155
156void play_list(char *dir, char *file) 156void play_list(char *dir, char *file, int start_index)
157{ 157{
158 char *sep=""; 158 char *sep="";
159 int dirlen; 159 int dirlen;
160 160
161 empty_playlist(); 161 empty_playlist();
162 162
163 playlist.index = start_index;
164
163 /* If file is NULL, the list is in RAM */ 165 /* If file is NULL, the list is in RAM */
164 if(file) { 166 if(file) {
165 lcd_clear_display(); 167 lcd_clear_display();