From cacc64a4feef33dfd2aef2a1092f110ac196382b Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Sun, 2 Jan 2011 03:48:40 +0000 Subject: 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 --- apps/menus/settings_menu.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/menus') 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 -- cgit v1.1