summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2002-10-06 05:50:41 +0000
committerHardeep Sidhu <dyp@pobox.com>2002-10-06 05:50:41 +0000
commit83611fe8c32d99bb463358f5ec8e0ebe466f1f42 (patch)
treeb91fa4d1e70adbccb10978b64db3c5d721b4b71c /apps/settings.h
parentac2e0f1c3286edff9027404d4d15bc5e2445a4a2 (diff)
downloadrockbox-83611fe8c32d99bb463358f5ec8e0ebe466f1f42.tar.gz
rockbox-83611fe8c32d99bb463358f5ec8e0ebe466f1f42.zip
Store the first index of the playlist and use it when calculating the next index in repeat off mode so that shuffled dirplay works correctly when "play selected" is enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2514 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h
index b30d8aa744..d64d00e8cf 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -73,6 +73,7 @@ struct user_settings
73 int resume_index; /* index in playlist (-1 for no active resume) */ 73 int resume_index; /* index in playlist (-1 for no active resume) */
74 int resume_offset; /* byte offset in mp3 file */ 74 int resume_offset; /* byte offset in mp3 file */
75 int resume_seed; /* random seed for playlist shuffle */ 75 int resume_seed; /* random seed for playlist shuffle */
76 int resume_first_index; /* first index of playlist */
76 unsigned char resume_file[MAX_PATH+1]; /* playlist name (or dir) */ 77 unsigned char resume_file[MAX_PATH+1]; /* playlist name (or dir) */
77 78
78 /* misc options */ 79 /* misc options */