diff --git a/menu/menu_setting.c b/menu/menu_setting.c index 0ed40224c3..779ada4766 100644 --- a/menu/menu_setting.c +++ b/menu/menu_setting.c @@ -3536,14 +3536,15 @@ static bool setting_append_list_main_menu_options( group_info.name, subgroup_info.name, parent_group); - menu_settings_list_current_add_cmd(list, list_info, EVENT_CMD_UNLOAD_CORE); + menu_settings_list_current_add_cmd(list, list_info, EVENT_CMD_UNLOAD_CORE); - CONFIG_ACTION( - menu_hash_to_str(MENU_LABEL_CORE_INFORMATION), - menu_hash_to_str(MENU_LABEL_VALUE_CORE_INFORMATION), - group_info.name, - subgroup_info.name, - parent_group); } + CONFIG_ACTION( + menu_hash_to_str(MENU_LABEL_CORE_INFORMATION), + menu_hash_to_str(MENU_LABEL_VALUE_CORE_INFORMATION), + group_info.name, + subgroup_info.name, + parent_group); + } } #endif @@ -3566,6 +3567,7 @@ static bool setting_append_list_main_menu_options( subgroup_info.name, parent_group); } + if (global->core_info && core_info_list_num_info_files(global->core_info)) { CONFIG_ACTION( @@ -3576,6 +3578,7 @@ static bool setting_append_list_main_menu_options( parent_group); settings_data_list_current_add_flags(list, list_info, SD_FLAG_BROWSER_ACTION); } + CONFIG_ACTION( menu_hash_to_str(MENU_LABEL_LOAD_CONTENT), menu_hash_to_str(MENU_LABEL_VALUE_LOAD_CONTENT), @@ -3641,6 +3644,7 @@ static bool setting_append_list_main_menu_options( parent_group); settings_data_list_current_add_flags(list, list_info, SD_FLAG_ADVANCED); } + if (global->main_is_init && (global->core_type != CORE_TYPE_DUMMY)) { CONFIG_ACTION(