diff options
| author | Michael Giacomelli <giac2000@hotmail.com> | 2011-01-02 03:48:40 +0000 |
|---|---|---|
| committer | Michael Giacomelli <giac2000@hotmail.com> | 2011-01-02 03:48:40 +0000 |
| commit | cacc64a4feef33dfd2aef2a1092f110ac196382b (patch) | |
| tree | baddda51b0d0aa7ea973ce02dc199a7acb064cc3 /apps/menus | |
| parent | 66e8fc0f0d05d926a90e8d9991f78b7a855eb7f3 (diff) | |
| download | rockbox-cacc64a4feef33dfd2aef2a1092f110ac196382b.zip rockbox-cacc64a4feef33dfd2aef2a1092f110ac196382b.tar.gz rockbox-cacc64a4feef33dfd2aef2a1092f110ac196382b.tar.bz2 rockbox-cacc64a4feef33dfd2aef2a1092f110ac196382b.tar.xz | |
Blind commit a 'fix' for automatic resume on HWCODEC since I don't understand HWCODEC and have no way to test builds for it. For now just disable it. In the long term it would be nice to support this on HWCODEC, or failing that, clean this up a little more.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28943 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus')
| -rw-r--r-- | apps/menus/settings_menu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c index e609a40..cc3871a 100644 --- a/apps/menus/settings_menu.c +++ b/apps/menus/settings_menu.c @@ -425,8 +425,10 @@ MAKE_MENU(hotkey_menu, ID2P(LANG_HOTKEY), 0, Icon_NOICON, /* SETTINGS MENU */ #ifdef HAVE_TAGCACHE +#if CONFIG_CODEC == SWCODEC MENUITEM_SETTING(autoresume_enable, &global_settings.autoresume_enable, NULL); #endif +#endif static struct browse_folder_info langs = { LANG_DIR, SHOW_LNG }; @@ -442,7 +444,9 @@ MAKE_MENU(settings_menu_item, ID2P(LANG_GENERAL_SETTINGS), 0, &display_menu, &system_menu, &bookmark_settings_menu, #ifdef HAVE_TAGCACHE +#if CONFIG_CODEC == SWCODEC &autoresume_enable, +#endif #endif &browse_langs, &voice_settings_menu, #ifdef HAVE_HOTKEY |