From 13257941786f1188987ac49595c41ca7857528b5 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sat, 18 May 2013 00:34:52 +0200 Subject: [PATCH] Remove config path in RGUI. Wonky, opens a can of worms to change it. --- frontend/menu/menu_common.h | 1 - frontend/menu/rgui.c | 4 ---- 2 files changed, 5 deletions(-) diff --git a/frontend/menu/menu_common.h b/frontend/menu/menu_common.h index babb216fbb..d401c26714 100644 --- a/frontend/menu/menu_common.h +++ b/frontend/menu/menu_common.h @@ -154,7 +154,6 @@ typedef enum RGUI_SAVESTATE_DIR_PATH, RGUI_SAVEFILE_DIR_PATH, RGUI_SYSTEM_DIR_PATH, - RGUI_CONFIG_PATH, RGUI_SETTINGS_RESTART_GAME, RGUI_SETTINGS_AUDIO_MUTE, RGUI_SETTINGS_AUDIO_CONTROL_RATE_DELTA, diff --git a/frontend/menu/rgui.c b/frontend/menu/rgui.c index 64428d5dd3..cd3567a41d 100644 --- a/frontend/menu/rgui.c +++ b/frontend/menu/rgui.c @@ -626,9 +626,6 @@ static void render_text(rgui_handle_t *rgui) case RGUI_SYSTEM_DIR_PATH: strlcpy(type_str, g_settings.system_directory, sizeof(type_str)); break; - case RGUI_CONFIG_PATH: - strlcpy(type_str, g_extern.config_path, sizeof(type_str)); - break; case RGUI_SETTINGS_DISK_INDEX: { const struct retro_disk_control_callback *control = &g_extern.system.disk_control; @@ -1845,7 +1842,6 @@ static void rgui_settings_path_populate_entries(rgui_handle_t *rgui) rgui_list_push(rgui->selection_buf, "Savestate Directory", RGUI_SAVESTATE_DIR_PATH, 0); rgui_list_push(rgui->selection_buf, "Savefile Directory", RGUI_SAVEFILE_DIR_PATH, 0); rgui_list_push(rgui->selection_buf, "System Directory", RGUI_SYSTEM_DIR_PATH, 0); - rgui_list_push(rgui->selection_buf, "Config File", RGUI_CONFIG_PATH, 0); } static void rgui_settings_controller_populate_entries(rgui_handle_t *rgui)