diff options
| author | Hardeep Sidhu <dyp@pobox.com> | 2002-10-11 09:14:30 +0000 |
|---|---|---|
| committer | Hardeep Sidhu <dyp@pobox.com> | 2002-10-11 09:14:30 +0000 |
| commit | 3735a15aca1c0c2649fb003f70ca6900d09a7731 (patch) | |
| tree | 925209021a61f25341e65e8c6cae35cc98d49bc6 /apps/playlist.c | |
| parent | 88098be7e3f175129a8f9aa78c82206afa063694 (diff) | |
| download | rockbox-3735a15aca1c0c2649fb003f70ca6900d09a7731.zip rockbox-3735a15aca1c0c2649fb003f70ca6900d09a7731.tar.gz rockbox-3735a15aca1c0c2649fb003f70ca6900d09a7731.tar.bz2 rockbox-3735a15aca1c0c2649fb003f70ca6900d09a7731.tar.xz | |
Retrieve the first_index from playlist when updating resume settings instead of incorrectly using start_index
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2575 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.c')
| -rw-r--r-- | apps/playlist.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index 1e5c12a..3c512cd 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -106,6 +106,11 @@ int playlist_amount(void) return playlist.amount; } +int playlist_first_index(void) +{ + return playlist.first_index; +} + int playlist_next(int steps) { playlist.index = get_next_index(steps); |