diff options
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r-- | apps/settings_menu.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 0de99b0335..e66d0f389c 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c | |||
@@ -57,6 +57,11 @@ static void sort_case(void) | |||
57 | set_bool( "[Sort case sensitive]", &global_settings.sort_case ); | 57 | set_bool( "[Sort case sensitive]", &global_settings.sort_case ); |
58 | } | 58 | } |
59 | 59 | ||
60 | static void resume(void) | ||
61 | { | ||
62 | set_bool( "[Resume]", &global_settings.resume ); | ||
63 | } | ||
64 | |||
60 | static void backlight_timer(void) | 65 | static void backlight_timer(void) |
61 | { | 66 | { |
62 | char* names[] = { "off", "on ", | 67 | char* names[] = { "off", "on ", |
@@ -153,13 +158,13 @@ void settings_menu(void) | |||
153 | { "Time/Date", timedate_set }, | 158 | { "Time/Date", timedate_set }, |
154 | #endif | 159 | #endif |
155 | { "FF/Rewind", ff_rewind }, | 160 | { "FF/Rewind", ff_rewind }, |
161 | { "Resume", resume }, | ||
156 | }; | 162 | }; |
157 | bool old_shuffle = global_settings.playlist_shuffle; | 163 | bool old_shuffle = global_settings.playlist_shuffle; |
158 | 164 | ||
159 | m=menu_init( items, sizeof items / sizeof(struct menu_items) ); | 165 | m=menu_init( items, sizeof items / sizeof(struct menu_items) ); |
160 | menu_run(m); | 166 | menu_run(m); |
161 | menu_exit(m); | 167 | menu_exit(m); |
162 | settings_save(); | ||
163 | 168 | ||
164 | if (old_shuffle != global_settings.playlist_shuffle) | 169 | if (old_shuffle != global_settings.playlist_shuffle) |
165 | { | 170 | { |