mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Code cleaning + remove useless HAVE_LAKKA ifdefs
This commit is contained in:
parent
b8db914af4
commit
ac32ce8ad4
@ -2417,16 +2417,14 @@ static bool setting_append_list(
|
|||||||
&subgroup_info,
|
&subgroup_info,
|
||||||
parent_group);
|
parent_group);
|
||||||
|
|
||||||
if (settings->menu.show_advanced_settings)
|
CONFIG_ACTION(
|
||||||
{
|
list, list_info,
|
||||||
CONFIG_ACTION(
|
MENU_ENUM_LABEL_CORE_SETTINGS,
|
||||||
list, list_info,
|
MENU_ENUM_LABEL_VALUE_CORE_SETTINGS,
|
||||||
MENU_ENUM_LABEL_CORE_SETTINGS,
|
&group_info,
|
||||||
MENU_ENUM_LABEL_VALUE_CORE_SETTINGS,
|
&subgroup_info,
|
||||||
&group_info,
|
parent_group);
|
||||||
&subgroup_info,
|
settings_data_list_current_add_flags(list, list_info, SD_FLAG_ADVANCED);
|
||||||
parent_group);
|
|
||||||
}
|
|
||||||
|
|
||||||
CONFIG_ACTION(
|
CONFIG_ACTION(
|
||||||
list, list_info,
|
list, list_info,
|
||||||
@ -2444,16 +2442,14 @@ static bool setting_append_list(
|
|||||||
&subgroup_info,
|
&subgroup_info,
|
||||||
parent_group);
|
parent_group);
|
||||||
|
|
||||||
if (settings->menu.show_advanced_settings)
|
CONFIG_ACTION(
|
||||||
{
|
list, list_info,
|
||||||
CONFIG_ACTION(
|
MENU_ENUM_LABEL_LOGGING_SETTINGS,
|
||||||
list, list_info,
|
MENU_ENUM_LABEL_VALUE_LOGGING_SETTINGS,
|
||||||
MENU_ENUM_LABEL_LOGGING_SETTINGS,
|
&group_info,
|
||||||
MENU_ENUM_LABEL_VALUE_LOGGING_SETTINGS,
|
&subgroup_info,
|
||||||
&group_info,
|
parent_group);
|
||||||
&subgroup_info,
|
settings_data_list_current_add_flags(list, list_info, SD_FLAG_ADVANCED);
|
||||||
parent_group);
|
|
||||||
}
|
|
||||||
|
|
||||||
CONFIG_ACTION(
|
CONFIG_ACTION(
|
||||||
list, list_info,
|
list, list_info,
|
||||||
@ -2511,7 +2507,7 @@ static bool setting_append_list(
|
|||||||
&subgroup_info,
|
&subgroup_info,
|
||||||
parent_group);
|
parent_group);
|
||||||
|
|
||||||
#if !defined(RARCH_CONSOLE) && !defined(HAVE_LAKKA)
|
#if !defined(RARCH_CONSOLE)
|
||||||
CONFIG_ACTION(
|
CONFIG_ACTION(
|
||||||
list, list_info,
|
list, list_info,
|
||||||
MENU_ENUM_LABEL_USER_INTERFACE_SETTINGS,
|
MENU_ENUM_LABEL_USER_INTERFACE_SETTINGS,
|
||||||
@ -5266,7 +5262,6 @@ static bool setting_append_list(
|
|||||||
END_GROUP(list, list_info, parent_group);
|
END_GROUP(list, list_info, parent_group);
|
||||||
break;
|
break;
|
||||||
case SETTINGS_LIST_USER_INTERFACE:
|
case SETTINGS_LIST_USER_INTERFACE:
|
||||||
#ifndef HAVE_LAKKA
|
|
||||||
START_GROUP(list, list_info, &group_info,
|
START_GROUP(list, list_info, &group_info,
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_USER_INTERFACE_SETTINGS),
|
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_USER_INTERFACE_SETTINGS),
|
||||||
parent_group);
|
parent_group);
|
||||||
@ -5359,7 +5354,6 @@ static bool setting_append_list(
|
|||||||
|
|
||||||
END_SUB_GROUP(list, list_info, parent_group);
|
END_SUB_GROUP(list, list_info, parent_group);
|
||||||
END_GROUP(list, list_info, parent_group);
|
END_GROUP(list, list_info, parent_group);
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
case SETTINGS_LIST_PLAYLIST:
|
case SETTINGS_LIST_PLAYLIST:
|
||||||
START_GROUP(list, list_info, &group_info,
|
START_GROUP(list, list_info, &group_info,
|
||||||
@ -5371,7 +5365,6 @@ static bool setting_append_list(
|
|||||||
|
|
||||||
START_SUB_GROUP(list, list_info, "History", &group_info, &subgroup_info, parent_group);
|
START_SUB_GROUP(list, list_info, "History", &group_info, &subgroup_info, parent_group);
|
||||||
|
|
||||||
#ifndef HAVE_LAKKA
|
|
||||||
CONFIG_BOOL(
|
CONFIG_BOOL(
|
||||||
list, list_info,
|
list, list_info,
|
||||||
&settings->history_list_enable,
|
&settings->history_list_enable,
|
||||||
@ -5387,7 +5380,6 @@ static bool setting_append_list(
|
|||||||
general_read_handler,
|
general_read_handler,
|
||||||
SD_FLAG_NONE
|
SD_FLAG_NONE
|
||||||
);
|
);
|
||||||
#endif
|
|
||||||
|
|
||||||
CONFIG_UINT(
|
CONFIG_UINT(
|
||||||
list, list_info,
|
list, list_info,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user