summaryrefslogtreecommitdiff
path: root/apps/menus
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2010-04-24 14:10:28 +0000
committerMagnus Holmgren <magnushol@gmail.com>2010-04-24 14:10:28 +0000
commitd38093de2f96e5600e944edb20b626b494bd3717 (patch)
tree8f1ddab1488ae1e734a84e00f5aaff6230d98620 /apps/menus
parent2970eb5b4c1cc2c3a1a8ff98f13ff2e4010464c3 (diff)
FS#11099 - Rewind before resume
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25706 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus')
-rw-r--r--apps/menus/playback_menu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/menus/playback_menu.c b/apps/menus/playback_menu.c
index 5be7a8ca43..f0ebd1eed1 100644
--- a/apps/menus/playback_menu.c
+++ b/apps/menus/playback_menu.c
@@ -177,6 +177,7 @@ MAKE_MENU(unplug_menu, ID2P(LANG_HEADPHONE_UNPLUG), 0, Icon_NOICON,
MENUITEM_SETTING(skip_length, &global_settings.skip_length, NULL);
MENUITEM_SETTING(prevent_skip, &global_settings.prevent_skip, NULL);
+MENUITEM_SETTING(resume_rewind, &global_settings.resume_rewind, NULL);
MAKE_MENU(playback_settings,ID2P(LANG_PLAYBACK),0,
Icon_Playback_menu,
@@ -203,6 +204,10 @@ MAKE_MENU(playback_settings,ID2P(LANG_PLAYBACK),0,
,&unplug_menu
#endif
,&skip_length, &prevent_skip,
+
+#if CONFIG_CODEC == SWCODEC
+ &resume_rewind,
+#endif
);
static int playback_callback(int action,const struct menu_item_ex *this_item)