From ea6b883f2dda40bacdcac40f4e67c97d4472501c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 18 Oct 2015 19:21:57 +0200 Subject: [PATCH] Add Settings -> Retro Achievements -> Enable --- menu/menu_setting.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/menu/menu_setting.c b/menu/menu_setting.c index 3c51ac0922..13b00165cb 100644 --- a/menu/menu_setting.c +++ b/menu/menu_setting.c @@ -5596,6 +5596,24 @@ static bool setting_append_list_cheevos_options( parent_group); START_SUB_GROUP(list, list_info, "State", group_info.name, subgroup_info, parent_group); + CONFIG_BOOL( + settings->cheevos.enable, +#if 0 + menu_hash_to_str(MENU_LABEL_CHEEVOS_ENABLE), + menu_hash_to_str(MENU_LABEL_VALUE_CHEEVOS_ENABLE), +#else + "cheevos_enable", + "Enable", +#endif + false, + menu_hash_to_str(MENU_VALUE_OFF), + menu_hash_to_str(MENU_VALUE_ON), + group_info.name, + subgroup_info.name, + parent_group, + general_write_handler, + general_read_handler); + CONFIG_BOOL( settings->cheevos.test_unofficial, #if 0