Remove system_bgm

This commit is contained in:
twinaphex 2018-01-25 03:38:32 +01:00
parent 507b609ec9
commit 74a602d4c9
3 changed files with 0 additions and 29 deletions

View File

@ -1166,7 +1166,6 @@ static struct config_bool_setting *populate_settings_bool(settings_t *settings,
{
struct config_bool_setting *tmp = (struct config_bool_setting*)malloc((*size + 1) * sizeof(struct config_bool_setting));
unsigned count = 0;
global_t *global = global_get_ptr();
SETTING_BOOL("automatically_add_content_to_playlist", &settings->bools.automatically_add_content_to_playlist, true, automatically_add_content_to_playlist, false);
SETTING_BOOL("ui_companion_start_on_boot", &settings->bools.ui_companion_start_on_boot, true, ui_companion_start_on_boot, false);
@ -1379,11 +1378,6 @@ static struct config_bool_setting *populate_settings_bool(settings_t *settings,
SETTING_BOOL("video_msg_bgcolor_enable", &settings->bools.video_msg_bgcolor_enable, true, message_bgcolor_enable, false);
if (global)
{
SETTING_BOOL("custom_bgm_enable", &global->console.sound.system_bgm_enable, true, false, false);
}
*size = count;
return tmp;

View File

@ -4025,24 +4025,6 @@ static bool setting_append_list(
menu_settings_list_current_add_range(list, list_info, -80, 12, 1.0, true, true);
settings_data_list_current_add_flags(list, list_info, SD_FLAG_LAKKA_ADVANCED);
#ifdef __CELLOS_LV2__
CONFIG_BOOL(
list, list_info,
&global->console.sound.system_bgm_enable,
MENU_ENUM_LABEL_SYSTEM_BGM_ENABLE,
MENU_ENUM_LABEL_VALUE_SYSTEM_BGM_ENABLE,
false,
MENU_ENUM_LABEL_VALUE_OFF,
MENU_ENUM_LABEL_VALUE_ON,
&group_info,
&subgroup_info,
parent_group,
general_write_handler,
general_read_handler,
SD_FLAG_NONE
);
#endif
END_SUB_GROUP(list, list_info, parent_group);
parent_group = msg_hash_to_str(MENU_ENUM_LABEL_SETTINGS);

View File

@ -266,11 +266,6 @@ typedef struct global
rarch_resolution_t initial;
} resolutions;
} screen;
struct
{
bool system_bgm_enable;
} sound;
} console;
} global_t;