Fix 'Core Disk Options'

This commit is contained in:
twinaphex 2015-06-25 09:15:34 +02:00
parent 293c915438
commit 706638bb89
3 changed files with 6 additions and 4 deletions

View File

@ -602,9 +602,6 @@ static int menu_cbs_init_bind_deferred_push_compare_label(menu_file_list_cbs_t *
case MENU_LABEL_CORE_INPUT_REMAPPING_OPTIONS:
cbs->action_deferred_push = deferred_push_core_input_remapping_options;
break;
case MENU_LABEL_DISK_OPTIONS:
cbs->action_deferred_push = deferred_push_disk_options;
break;
case MENU_LABEL_CORE_LIST:
cbs->action_deferred_push = deferred_push_core_list;
break;
@ -659,6 +656,8 @@ static int menu_cbs_init_bind_deferred_push_compare_type(menu_file_list_cbs_t *c
cbs->action_deferred_push = deferred_push_category;
else if (type == MENU_FILE_PLAYLIST_COLLECTION)
cbs->action_deferred_push = deferred_push_rdb_collection;
else if (type == MENU_SETTING_ACTION_CORE_DISK_OPTIONS)
cbs->action_deferred_push = deferred_push_disk_options;
else
return -1;

View File

@ -1790,6 +1790,9 @@ static int menu_cbs_init_bind_ok_compare_type(menu_file_list_cbs_t *cbs,
{
switch (type)
{
case MENU_SETTING_ACTION_CORE_DISK_OPTIONS:
cbs->action_ok = action_ok_push_default;
break;
case MENU_FILE_PLAYLIST_ENTRY:
cbs->action_ok = action_ok_playlist_entry;
break;

View File

@ -1575,7 +1575,7 @@ static int menu_displaylist_parse_load_content_settings(menu_displaylist_info_t
menu_list_push(info->list,
menu_hash_to_str(MENU_LABEL_VALUE_DISK_OPTIONS),
menu_hash_to_str(MENU_LABEL_DISK_OPTIONS),
MENU_SETTING_ACTION, 0, 0);
MENU_SETTING_ACTION_CORE_DISK_OPTIONS, 0, 0);
#ifdef HAVE_SHADER_MANAGER
menu_list_push(info->list,
menu_hash_to_str(MENU_LABEL_VALUE_SHADER_OPTIONS),