Get rid of unused 'Debug Information'

This commit is contained in:
twinaphex 2016-08-30 04:58:45 +02:00
parent 78175e0e9c
commit 672a7e1a40
15 changed files with 0 additions and 207 deletions

View File

@ -682,7 +682,6 @@ static int populate_settings_bool(settings_t *settings, struct config_bool_setti
SETTING_BOOL("video_black_frame_insertion", &settings->video.black_frame_insertion, true, black_frame_insertion); SETTING_BOOL("video_black_frame_insertion", &settings->video.black_frame_insertion, true, black_frame_insertion);
SETTING_BOOL("video_disable_composition", &settings->video.disable_composition, true, disable_composition); SETTING_BOOL("video_disable_composition", &settings->video.disable_composition, true, disable_composition);
SETTING_BOOL("pause_nonactive", &settings->pause_nonactive, true, pause_nonactive); SETTING_BOOL("pause_nonactive", &settings->pause_nonactive, true, pause_nonactive);
SETTING_BOOL("debug_panel_enable", &settings->debug_panel_enable, false, false /* TODO */);
SETTING_BOOL("video_gpu_screenshot", &settings->video.gpu_screenshot, true, gpu_screenshot); SETTING_BOOL("video_gpu_screenshot", &settings->video.gpu_screenshot, true, gpu_screenshot);
SETTING_BOOL("video_post_filter_record", &settings->video.post_filter_record, true, post_filter_record); SETTING_BOOL("video_post_filter_record", &settings->video.post_filter_record, true, post_filter_record);
SETTING_BOOL("keyboard_gamepad_enable", &settings->input.keyboard_gamepad_enable, true, true); SETTING_BOOL("keyboard_gamepad_enable", &settings->input.keyboard_gamepad_enable, true, true);

View File

@ -454,7 +454,6 @@ typedef struct settings
bool network_remote_enable; bool network_remote_enable;
bool network_remote_enable_user[MAX_USERS]; bool network_remote_enable_user[MAX_USERS];
unsigned network_remote_base_port; unsigned network_remote_base_port;
bool debug_panel_enable;
#if defined(HAVE_MENU) #if defined(HAVE_MENU)
bool menu_show_start_screen; bool menu_show_start_screen;

View File

@ -1984,8 +1984,6 @@ const char *msg_hash_to_str_es(enum msg_hash_enums msg)
return "Extraer automáticamente el archivo descargado"; return "Extraer automáticamente el archivo descargado";
case MENU_ENUM_LABEL_VALUE_SYSTEM_INFORMATION: case MENU_ENUM_LABEL_VALUE_SYSTEM_INFORMATION:
return "Información del sistema"; return "Información del sistema";
case MENU_ENUM_LABEL_VALUE_DEBUG_INFORMATION:
return "Información de depuración";
case MENU_ENUM_LABEL_VALUE_ACHIEVEMENT_LIST: case MENU_ENUM_LABEL_VALUE_ACHIEVEMENT_LIST:
return "Lista de logros"; return "Lista de logros";
case MENU_ENUM_LABEL_VALUE_ONLINE_UPDATER: case MENU_ENUM_LABEL_VALUE_ONLINE_UPDATER:

View File

@ -1687,8 +1687,6 @@ const char *msg_hash_to_str_it(enum msg_hash_enums msg)
return "Estrai automaticamente gli archivi scaricati"; return "Estrai automaticamente gli archivi scaricati";
case MENU_ENUM_LABEL_VALUE_SYSTEM_INFORMATION: case MENU_ENUM_LABEL_VALUE_SYSTEM_INFORMATION:
return "Informazione di sistema"; return "Informazione di sistema";
case MENU_ENUM_LABEL_VALUE_DEBUG_INFORMATION:
return "Informazioni di debug";
case MENU_ENUM_LABEL_VALUE_ACHIEVEMENT_LIST: case MENU_ENUM_LABEL_VALUE_ACHIEVEMENT_LIST:
return "Lista Obiettivi"; return "Lista Obiettivi";
case MENU_ENUM_LABEL_VALUE_ONLINE_UPDATER: case MENU_ENUM_LABEL_VALUE_ONLINE_UPDATER:

View File

@ -2784,8 +2784,6 @@ static const char *menu_hash_to_str_jp_label_enum(enum msg_hash_enums msg)
return "menu_navigation_browser_filter_supported_extensions_enable"; return "menu_navigation_browser_filter_supported_extensions_enable";
case MENU_ENUM_LABEL_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE: case MENU_ENUM_LABEL_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE:
return "core_updater_auto_extract_archive"; return "core_updater_auto_extract_archive";
case MENU_ENUM_LABEL_DEBUG_INFORMATION:
return "debug_information";
case MENU_ENUM_LABEL_ACHIEVEMENT_LIST: case MENU_ENUM_LABEL_ACHIEVEMENT_LIST:
return "achievement_list"; return "achievement_list";
case MENU_ENUM_LABEL_SYSTEM_INFORMATION: case MENU_ENUM_LABEL_SYSTEM_INFORMATION:
@ -4029,8 +4027,6 @@ const char *msg_hash_to_str_jp(enum msg_hash_enums msg)
return "System Information"; return "System Information";
case MENU_ENUM_LABEL_VALUE_NETWORK_INFORMATION: case MENU_ENUM_LABEL_VALUE_NETWORK_INFORMATION:
return "Network Information"; return "Network Information";
case MENU_ENUM_LABEL_VALUE_DEBUG_INFORMATION:
return "Debug Information";
case MENU_ENUM_LABEL_VALUE_ACHIEVEMENT_LIST: case MENU_ENUM_LABEL_VALUE_ACHIEVEMENT_LIST:
return "Achievement List"; return "Achievement List";
case MENU_ENUM_LABEL_VALUE_ONLINE_UPDATER: case MENU_ENUM_LABEL_VALUE_ONLINE_UPDATER:

View File

@ -2816,8 +2816,6 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
return "menu_navigation_browser_filter_supported_extensions_enable"; return "menu_navigation_browser_filter_supported_extensions_enable";
case MENU_ENUM_LABEL_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE: case MENU_ENUM_LABEL_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE:
return "core_updater_auto_extract_archive"; return "core_updater_auto_extract_archive";
case MENU_ENUM_LABEL_DEBUG_INFORMATION:
return "debug_information";
case MENU_ENUM_LABEL_ACHIEVEMENT_LIST: case MENU_ENUM_LABEL_ACHIEVEMENT_LIST:
return "achievement_list"; return "achievement_list";
case MENU_ENUM_LABEL_SYSTEM_INFORMATION: case MENU_ENUM_LABEL_SYSTEM_INFORMATION:
@ -4085,8 +4083,6 @@ const char *msg_hash_to_str_us(enum msg_hash_enums msg)
return "System Information"; return "System Information";
case MENU_ENUM_LABEL_VALUE_NETWORK_INFORMATION: case MENU_ENUM_LABEL_VALUE_NETWORK_INFORMATION:
return "Network Information"; return "Network Information";
case MENU_ENUM_LABEL_VALUE_DEBUG_INFORMATION:
return "Debug Information";
case MENU_ENUM_LABEL_VALUE_ACHIEVEMENT_LIST: case MENU_ENUM_LABEL_VALUE_ACHIEVEMENT_LIST:
return "Achievement List"; return "Achievement List";
case MENU_ENUM_LABEL_VALUE_ONLINE_UPDATER: case MENU_ENUM_LABEL_VALUE_ONLINE_UPDATER:

View File

@ -2789,8 +2789,6 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
return "menù_navïgatîon_browser_filter_supported_èxteñsions_enâble"; return "menù_navïgatîon_browser_filter_supported_èxteñsions_enâble";
case MENU_ENUM_LABEL_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE: case MENU_ENUM_LABEL_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE:
return "çorë_üpdåter_àuto_extraçt_arçhive"; return "çorë_üpdåter_àuto_extraçt_arçhive";
case MENU_ENUM_LABEL_DEBUG_INFORMATION:
return "dèbug_införmätîòn";
case MENU_ENUM_LABEL_ACHIEVEMENT_LIST: case MENU_ENUM_LABEL_ACHIEVEMENT_LIST:
return "achïevement_list"; return "achïevement_list";
case MENU_ENUM_LABEL_SYSTEM_INFORMATION: case MENU_ENUM_LABEL_SYSTEM_INFORMATION:
@ -4034,8 +4032,6 @@ const char *msg_hash_to_str_us(enum msg_hash_enums msg)
return "Systëm Information"; return "Systëm Information";
case MENU_ENUM_LABEL_VALUE_NETWORK_INFORMATION: case MENU_ENUM_LABEL_VALUE_NETWORK_INFORMATION:
return "Nëtwork Iñformâtïoñ"; return "Nëtwork Iñformâtïoñ";
case MENU_ENUM_LABEL_VALUE_DEBUG_INFORMATION:
return "Dêbug Înformatíon";
case MENU_ENUM_LABEL_VALUE_ACHIEVEMENT_LIST: case MENU_ENUM_LABEL_VALUE_ACHIEVEMENT_LIST:
return "Achievement List"; return "Achievement List";
case MENU_ENUM_LABEL_VALUE_ONLINE_UPDATER: case MENU_ENUM_LABEL_VALUE_ONLINE_UPDATER:

View File

@ -69,11 +69,6 @@ static int deferred_push_network_information(menu_displaylist_info_t *info)
return deferred_push_dlist(info, DISPLAYLIST_NETWORK_INFO); return deferred_push_dlist(info, DISPLAYLIST_NETWORK_INFO);
} }
static int deferred_push_debug_information(menu_displaylist_info_t *info)
{
return deferred_push_dlist(info, DISPLAYLIST_DEBUG_INFO);
}
static int deferred_push_achievement_list(menu_displaylist_info_t *info) static int deferred_push_achievement_list(menu_displaylist_info_t *info)
{ {
return deferred_push_dlist(info, DISPLAYLIST_ACHIEVEMENT_LIST); return deferred_push_dlist(info, DISPLAYLIST_ACHIEVEMENT_LIST);
@ -953,9 +948,6 @@ static int menu_cbs_init_bind_deferred_push_compare_label(
case MENU_ENUM_LABEL_NETWORK_INFORMATION: case MENU_ENUM_LABEL_NETWORK_INFORMATION:
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_network_information); BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_network_information);
break; break;
case MENU_ENUM_LABEL_DEBUG_INFORMATION:
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_debug_information);
break;
case MENU_ENUM_LABEL_ACHIEVEMENT_LIST: case MENU_ENUM_LABEL_ACHIEVEMENT_LIST:
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_achievement_list); BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_achievement_list);
break; break;
@ -1207,9 +1199,6 @@ static int menu_cbs_init_bind_deferred_push_compare_label(
case MENU_LABEL_NETWORK_INFORMATION: case MENU_LABEL_NETWORK_INFORMATION:
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_network_information); BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_network_information);
break; break;
case MENU_LABEL_DEBUG_INFORMATION:
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_debug_information);
break;
case MENU_LABEL_ACHIEVEMENT_LIST: case MENU_LABEL_ACHIEVEMENT_LIST:
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_achievement_list); BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_achievement_list);
break; break;

View File

@ -1456,24 +1456,6 @@ static void menu_action_setting_disp_set_label_system_information(
strlcpy(s2, path, len2); strlcpy(s2, path, len2);
} }
static void menu_action_setting_disp_set_label_debug_information(
file_list_t* list,
unsigned *w, unsigned type, unsigned i,
const char *label,
char *s, size_t len,
const char *entry_label,
const char *path,
char *s2, size_t len2)
{
*s = '\0';
*w = 2;
menu_setting_get_label(list, s,
len, w, type, label, entry_label, i);
strlcpy(s2, path, len2);
}
static void menu_action_setting_disp_set_label_achievement_information( static void menu_action_setting_disp_set_label_achievement_information(
file_list_t* list, file_list_t* list,
unsigned *w, unsigned type, unsigned i, unsigned *w, unsigned type, unsigned i,
@ -1615,7 +1597,6 @@ static int menu_cbs_init_bind_get_string_representation_compare_label(
case MENU_ENUM_LABEL_CORE_INPUT_REMAPPING_OPTIONS: case MENU_ENUM_LABEL_CORE_INPUT_REMAPPING_OPTIONS:
case MENU_ENUM_LABEL_CORE_INFORMATION: case MENU_ENUM_LABEL_CORE_INFORMATION:
case MENU_ENUM_LABEL_SYSTEM_INFORMATION: case MENU_ENUM_LABEL_SYSTEM_INFORMATION:
case MENU_ENUM_LABEL_DEBUG_INFORMATION:
case MENU_ENUM_LABEL_ACHIEVEMENT_LIST: case MENU_ENUM_LABEL_ACHIEVEMENT_LIST:
case MENU_ENUM_LABEL_SAVE_STATE: case MENU_ENUM_LABEL_SAVE_STATE:
case MENU_ENUM_LABEL_LOAD_STATE: case MENU_ENUM_LABEL_LOAD_STATE:
@ -1799,10 +1780,6 @@ int menu_cbs_init_bind_get_string_representation(menu_file_list_cbs_t *cbs,
BIND_ACTION_GET_VALUE(cbs, BIND_ACTION_GET_VALUE(cbs,
menu_action_setting_disp_set_label_system_information); menu_action_setting_disp_set_label_system_information);
return 0; return 0;
case MENU_ENUM_LABEL_DEBUG_INFORMATION:
BIND_ACTION_GET_VALUE(cbs,
menu_action_setting_disp_set_label_debug_information);
return 0;
case MENU_ENUM_LABEL_ACHIEVEMENT_LIST: case MENU_ENUM_LABEL_ACHIEVEMENT_LIST:
BIND_ACTION_GET_VALUE(cbs, BIND_ACTION_GET_VALUE(cbs,
menu_action_setting_disp_set_label_achievement_information); menu_action_setting_disp_set_label_achievement_information);

View File

@ -3451,7 +3451,6 @@ static int menu_cbs_init_bind_ok_compare_label(menu_file_list_cbs_t *cbs,
case MENU_ENUM_LABEL_CORE_INFORMATION: case MENU_ENUM_LABEL_CORE_INFORMATION:
case MENU_ENUM_LABEL_SYSTEM_INFORMATION: case MENU_ENUM_LABEL_SYSTEM_INFORMATION:
case MENU_ENUM_LABEL_NETWORK_INFORMATION: case MENU_ENUM_LABEL_NETWORK_INFORMATION:
case MENU_ENUM_LABEL_DEBUG_INFORMATION:
case MENU_ENUM_LABEL_ACHIEVEMENT_LIST: case MENU_ENUM_LABEL_ACHIEVEMENT_LIST:
case MENU_ENUM_LABEL_DISK_OPTIONS: case MENU_ENUM_LABEL_DISK_OPTIONS:
case MENU_ENUM_LABEL_SETTINGS: case MENU_ENUM_LABEL_SETTINGS:

View File

@ -1242,7 +1242,6 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
BIND_ACTION_GET_TITLE(cbs, action_get_playlist_settings_list); BIND_ACTION_GET_TITLE(cbs, action_get_playlist_settings_list);
break; break;
case MENU_ENUM_LABEL_MANAGEMENT: case MENU_ENUM_LABEL_MANAGEMENT:
case MENU_ENUM_LABEL_DEBUG_INFORMATION:
case MENU_ENUM_LABEL_ACHIEVEMENT_LIST: case MENU_ENUM_LABEL_ACHIEVEMENT_LIST:
case MENU_ENUM_LABEL_VIDEO_SHADER_PARAMETERS: case MENU_ENUM_LABEL_VIDEO_SHADER_PARAMETERS:
case MENU_ENUM_LABEL_VIDEO_SHADER_PRESET_PARAMETERS: case MENU_ENUM_LABEL_VIDEO_SHADER_PRESET_PARAMETERS:
@ -1521,7 +1520,6 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
BIND_ACTION_GET_TITLE(cbs, action_get_playlist_settings_list); BIND_ACTION_GET_TITLE(cbs, action_get_playlist_settings_list);
break; break;
case MENU_LABEL_MANAGEMENT: case MENU_LABEL_MANAGEMENT:
case MENU_LABEL_DEBUG_INFORMATION:
case MENU_LABEL_ACHIEVEMENT_LIST: case MENU_LABEL_ACHIEVEMENT_LIST:
case MENU_LABEL_VIDEO_SHADER_PARAMETERS: case MENU_LABEL_VIDEO_SHADER_PARAMETERS:
case MENU_LABEL_VIDEO_SHADER_PRESET_PARAMETERS: case MENU_LABEL_VIDEO_SHADER_PRESET_PARAMETERS:

View File

@ -404,121 +404,6 @@ static int menu_displaylist_parse_core_info(menu_displaylist_info_t *info)
return 0; return 0;
} }
static int menu_displaylist_parse_debug_info(menu_displaylist_info_t *info)
{
bool ret = false;
char tmp[PATH_MAX_LENGTH] = {0};
settings_t *settings = config_get_ptr();
global_t *global = global_get_ptr();
menu_entries_append_enum(info->list, "Directory Tests:", "",
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY,
MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
/* Assume libretro directory exists and check if stat works */
ret = path_is_directory(settings->directory.libretro);
snprintf(tmp, sizeof(tmp), "- stat directory... %s",
ret ? "passed" : "failed");
menu_entries_append_enum(info->list, tmp, "",
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY,
MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
/* Try to create a "test" subdirectory on top of libretro directory */
fill_pathname_join(tmp,
settings->directory.libretro,
".retroarch",
sizeof(tmp));
ret = path_mkdir(tmp);
snprintf(tmp, sizeof(tmp), "- create a directory... %s",
ret ? "passed" : "failed");
menu_entries_append_enum(info->list, tmp, "",
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY,
MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
menu_entries_append_enum(info->list, "", "",
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
/* Check if save directory exists */
menu_entries_append_enum(info->list,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SAVEFILE_DIRECTORY),
"",
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
ret = path_is_directory(global->dir.savefile);
snprintf(tmp, sizeof(tmp), "- directory name: %s",
global->dir.savefile);
menu_entries_append_enum(info->list, tmp, "",
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
snprintf(tmp, sizeof(tmp), "- directory exists: %s",
ret ? "true" : "false");
menu_entries_append_enum(info->list, tmp, "",
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
/* Check if save directory is writable */
fill_pathname_join(tmp, global->dir.savefile, ".retroarch",
sizeof(tmp));
ret = path_mkdir(tmp);
snprintf(tmp, sizeof(tmp), "- directory writable: %s",
ret ? "true" : "false");
menu_entries_append_enum(info->list, tmp, "",
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
menu_entries_append_enum(info->list, "", "",
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
/* Check if state directory exists */
menu_entries_append_enum(info->list,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SAVESTATE_DIRECTORY),
"",
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
ret = path_is_directory(global->dir.savestate);
snprintf(tmp, sizeof(tmp), "- directory name: %s", global->dir.savestate);
menu_entries_append_enum(info->list, tmp, "",
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
snprintf(tmp, sizeof(tmp), "- directory exists: %s",
ret ? "true" : "false");
menu_entries_append_enum(info->list, tmp, "",
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
/* Check if save directory is writable */
fill_pathname_join(tmp, global->dir.savestate, ".retroarch", sizeof(tmp));
ret = path_mkdir(tmp);
snprintf(tmp, sizeof(tmp), "- directory writable: %s",
ret ? "true" : "false");
menu_entries_append_enum(info->list, tmp, "",
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
menu_entries_append_enum(info->list, "", "",
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY,
MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
/* Check if system directory exists */
menu_entries_append_enum(info->list,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SYSTEM_DIRECTORY),
"",
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY,
MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
ret = path_is_directory(settings->directory.system);
snprintf(tmp, sizeof(tmp), "- directory name: %s",
settings->directory.system);
menu_entries_append_enum(info->list, tmp, "",
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
snprintf(tmp, sizeof(tmp), "- directory exists: %s",
ret ? "true" : "false");
menu_entries_append_enum(info->list, tmp, "",
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
/* Check if save directory is writable */
fill_pathname_join(tmp, settings->directory.system, ".retroarch",
sizeof(tmp));
ret = path_mkdir(tmp);
snprintf(tmp, sizeof(tmp), "- directory writable: %s",
ret ? "true" : "false");
menu_entries_append_enum(info->list, tmp, "",
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
return 0;
}
#ifdef HAVE_NETPLAY #ifdef HAVE_NETPLAY
#ifndef HAVE_SOCKET_LEGACY #ifndef HAVE_SOCKET_LEGACY
#include <net/net_ifinfo.h> #include <net/net_ifinfo.h>
@ -2861,13 +2746,6 @@ static int menu_displaylist_parse_information_list(
MENU_SETTING_ACTION, 0, 0); MENU_SETTING_ACTION, 0, 0);
} }
if(settings->debug_panel_enable)
menu_entries_append_enum(info->list,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_DEBUG_INFORMATION),
msg_hash_to_str(MENU_ENUM_LABEL_DEBUG_INFORMATION),
MENU_ENUM_LABEL_DEBUG_INFORMATION,
MENU_SETTING_ACTION, 0, 0);
return 0; return 0;
} }
@ -4088,7 +3966,6 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
case DISPLAYLIST_OPTIONS_DISK: case DISPLAYLIST_OPTIONS_DISK:
case DISPLAYLIST_NETWORK_INFO: case DISPLAYLIST_NETWORK_INFO:
case DISPLAYLIST_SYSTEM_INFO: case DISPLAYLIST_SYSTEM_INFO:
case DISPLAYLIST_DEBUG_INFO:
case DISPLAYLIST_ACHIEVEMENT_LIST: case DISPLAYLIST_ACHIEVEMENT_LIST:
case DISPLAYLIST_CORES: case DISPLAYLIST_CORES:
case DISPLAYLIST_CORES_DETECTED: case DISPLAYLIST_CORES_DETECTED:
@ -4511,9 +4388,6 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
menu_displaylist_parse_settings_enum(menu, info, menu_displaylist_parse_settings_enum(menu, info,
MENU_ENUM_LABEL_LIBRETRO_LOG_LEVEL, MENU_ENUM_LABEL_LIBRETRO_LOG_LEVEL,
PARSE_ONLY_UINT, false); PARSE_ONLY_UINT, false);
menu_displaylist_parse_settings_enum(menu, info,
MENU_ENUM_LABEL_DEBUG_PANEL_ENABLE,
PARSE_ONLY_BOOL, false);
menu_displaylist_parse_settings_enum(menu, info, menu_displaylist_parse_settings_enum(menu, info,
MENU_ENUM_LABEL_PERFCNT_ENABLE, MENU_ENUM_LABEL_PERFCNT_ENABLE,
PARSE_ONLY_BOOL, false); PARSE_ONLY_BOOL, false);
@ -5586,12 +5460,6 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
info->need_push = true; info->need_push = true;
info->need_refresh = true; info->need_refresh = true;
break; break;
case DISPLAYLIST_DEBUG_INFO:
menu_displaylist_parse_debug_info(info);
info->need_push = true;
info->need_refresh = true;
break;
#ifdef HAVE_CHEEVOS #ifdef HAVE_CHEEVOS
case DISPLAYLIST_ACHIEVEMENT_LIST: case DISPLAYLIST_ACHIEVEMENT_LIST:
cheevos_populate_menu(info); cheevos_populate_menu(info);

View File

@ -105,7 +105,6 @@ enum menu_displaylist_ctl_state
DISPLAYLIST_SHADER_PARAMETERS_PRESET, DISPLAYLIST_SHADER_PARAMETERS_PRESET,
DISPLAYLIST_NETWORK_INFO, DISPLAYLIST_NETWORK_INFO,
DISPLAYLIST_SYSTEM_INFO, DISPLAYLIST_SYSTEM_INFO,
DISPLAYLIST_DEBUG_INFO,
DISPLAYLIST_ACHIEVEMENT_LIST, DISPLAYLIST_ACHIEVEMENT_LIST,
DISPLAYLIST_USER_BINDS_LIST, DISPLAYLIST_USER_BINDS_LIST,
DISPLAYLIST_ACCOUNTS_LIST, DISPLAYLIST_ACCOUNTS_LIST,

View File

@ -3006,22 +3006,6 @@ static bool setting_append_list(
settings_data_list_current_add_flags(list, list_info, SD_FLAG_ADVANCED); settings_data_list_current_add_flags(list, list_info, SD_FLAG_ADVANCED);
menu_settings_list_current_add_enum_idx(list, list_info, MENU_ENUM_LABEL_LIBRETRO_LOG_LEVEL); menu_settings_list_current_add_enum_idx(list, list_info, MENU_ENUM_LABEL_LIBRETRO_LOG_LEVEL);
CONFIG_BOOL(
list, list_info,
&settings->debug_panel_enable,
msg_hash_to_str(MENU_ENUM_LABEL_DEBUG_PANEL_ENABLE),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_DEBUG_PANEL_ENABLE),
false,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_OFF),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ON),
&group_info,
&subgroup_info,
parent_group,
general_write_handler,
general_read_handler,
SD_FLAG_ADVANCED);
menu_settings_list_current_add_enum_idx(list, list_info, MENU_ENUM_LABEL_DEBUG_PANEL_ENABLE);
END_SUB_GROUP(list, list_info, parent_group); END_SUB_GROUP(list, list_info, parent_group);
START_SUB_GROUP(list, list_info, "Performance Counters", &group_info, &subgroup_info, START_SUB_GROUP(list, list_info, "Performance Counters", &group_info, &subgroup_info,

View File

@ -1414,10 +1414,8 @@ enum msg_hash_enums
MENU_ENUM_LABEL_NETWORK_INFORMATION, MENU_ENUM_LABEL_NETWORK_INFORMATION,
MENU_ENUM_LABEL_VALUE_NETWORK_INFORMATION, MENU_ENUM_LABEL_VALUE_NETWORK_INFORMATION,
MENU_ENUM_LABEL_SYSTEM_INFORMATION, MENU_ENUM_LABEL_SYSTEM_INFORMATION,
MENU_ENUM_LABEL_DEBUG_INFORMATION,
MENU_ENUM_LABEL_ACHIEVEMENT_LIST, MENU_ENUM_LABEL_ACHIEVEMENT_LIST,
MENU_ENUM_LABEL_VALUE_SYSTEM_INFORMATION, MENU_ENUM_LABEL_VALUE_SYSTEM_INFORMATION,
MENU_ENUM_LABEL_VALUE_DEBUG_INFORMATION,
MENU_ENUM_LABEL_VALUE_ACHIEVEMENT_LIST, MENU_ENUM_LABEL_VALUE_ACHIEVEMENT_LIST,
MENU_ENUM_LABEL_CORE_INFORMATION, MENU_ENUM_LABEL_CORE_INFORMATION,
MENU_ENUM_LABEL_VALUE_CORE_INFORMATION, MENU_ENUM_LABEL_VALUE_CORE_INFORMATION,
@ -1893,7 +1891,6 @@ enum msg_hash_enums
#define MENU_LABEL_INFORMATION_LIST 0x225e7606U #define MENU_LABEL_INFORMATION_LIST 0x225e7606U
#define MENU_LABEL_SYSTEM_INFORMATION 0x206ebf0fU #define MENU_LABEL_SYSTEM_INFORMATION 0x206ebf0fU
#define MENU_LABEL_NETWORK_INFORMATION 0x73ae3cb4U #define MENU_LABEL_NETWORK_INFORMATION 0x73ae3cb4U
#define MENU_LABEL_DEBUG_INFORMATION 0xeb0d82b1U
#define MENU_LABEL_CONTENT_SETTINGS 0xe789f7f6U #define MENU_LABEL_CONTENT_SETTINGS 0xe789f7f6U