forked from len0rd/rockbox
add HAVE_DISK_STORAGE, and use that instead of HAVE_FLASH_STORAGE when checking for an actual disk (i.e. related to spindown, skipping,...)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18735 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
23b7e95770
commit
46573019a5
43 changed files with 142 additions and 26 deletions
|
|
@ -67,7 +67,7 @@ MENUITEM_SETTING(ff_rewind_accel, &global_settings.ff_rewind_accel, NULL);
|
|||
MENUITEM_SETTING(ff_rewind_min_step, &global_settings.ff_rewind_min_step, NULL);
|
||||
MAKE_MENU(ff_rewind_settings_menu, ID2P(LANG_WIND_MENU), 0, Icon_NOICON,
|
||||
&ff_rewind_min_step, &ff_rewind_accel);
|
||||
#ifndef HAVE_FLASH_STORAGE
|
||||
#ifdef HAVE_DISK_STORAGE
|
||||
#if CONFIG_CODEC == SWCODEC
|
||||
static int buffermargin_callback(int action,const struct menu_item_ex *this_item)
|
||||
{
|
||||
|
|
@ -85,7 +85,7 @@ static int buffermargin_callback(int action,const struct menu_item_ex *this_item
|
|||
#endif
|
||||
MENUITEM_SETTING(buffer_margin, &global_settings.buffer_margin,
|
||||
buffermargin_callback);
|
||||
#endif /*HAVE_FLASH_STORAGE */
|
||||
#endif /*HAVE_DISK_STORAGE */
|
||||
MENUITEM_SETTING(fade_on_stop, &global_settings.fade_on_stop, NULL);
|
||||
MENUITEM_SETTING(party_mode, &global_settings.party_mode, NULL);
|
||||
|
||||
|
|
@ -181,7 +181,7 @@ MAKE_MENU(playback_settings,ID2P(LANG_PLAYBACK),0,
|
|||
Icon_Playback_menu,
|
||||
&shuffle_item, &repeat_mode, &play_selected,
|
||||
&ff_rewind_settings_menu,
|
||||
#ifndef HAVE_FLASH_STORAGE
|
||||
#ifdef HAVE_DISK_STORAGE
|
||||
&buffer_margin,
|
||||
#endif
|
||||
&fade_on_stop, &party_mode,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue