From 83611fe8c32d99bb463358f5ec8e0ebe466f1f42 Mon Sep 17 00:00:00 2001 From: Hardeep Sidhu Date: Sun, 6 Oct 2002 05:50:41 +0000 Subject: 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 --- apps/settings.h | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/settings.h') 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 int resume_index; /* index in playlist (-1 for no active resume) */ int resume_offset; /* byte offset in mp3 file */ int resume_seed; /* random seed for playlist shuffle */ + int resume_first_index; /* first index of playlist */ unsigned char resume_file[MAX_PATH+1]; /* playlist name (or dir) */ /* misc options */ -- cgit v1.2.3