mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
(Menu) Fixup MENU_SETTINGS_CONTENT_HISTORY_PATH somewhat
This commit is contained in:
parent
631a1fc8bf
commit
a8857fc7ab
@ -1889,6 +1889,7 @@ static int menu_settings_iterate(unsigned action)
|
||||
menu_type == MENU_SETTINGS_VIDEO_SOFTFILTER ||
|
||||
menu_type == MENU_SETTINGS_AUDIO_DSP_FILTER ||
|
||||
menu_type == MENU_SETTINGS_OVERLAY_PRESET ||
|
||||
menu_type == MENU_SETTINGS_CONTENT_HISTORY_PATH ||
|
||||
menu_type == MENU_SETTINGS_CORE ||
|
||||
menu_type == MENU_SETTINGS_CONFIG ||
|
||||
menu_type == MENU_SETTINGS_DISK_APPEND ||
|
||||
@ -2242,6 +2243,8 @@ static void menu_parse_and_resolve(unsigned menu_type)
|
||||
exts = "dsp";
|
||||
else if (menu_type == MENU_SETTINGS_OVERLAY_PRESET)
|
||||
exts = "cfg";
|
||||
else if (menu_type == MENU_SETTINGS_CONTENT_HISTORY_PATH)
|
||||
exts = "cfg";
|
||||
else if (menu_common_type_is(menu_type) == MENU_FILE_DIRECTORY)
|
||||
exts = ""; // we ignore files anyway
|
||||
else if (driver.menu->defer_core)
|
||||
@ -3977,7 +3980,7 @@ static int menu_common_setting_set(unsigned setting, unsigned action)
|
||||
switch (action)
|
||||
{
|
||||
case MENU_ACTION_OK:
|
||||
file_list_push(driver.menu->menu_stack, g_settings.game_history_path, setting, driver.menu->selection_ptr);
|
||||
file_list_push(driver.menu->menu_stack, "", setting, driver.menu->selection_ptr);
|
||||
menu_clear_navigation(driver.menu);
|
||||
driver.menu->need_refresh = true;
|
||||
break;
|
||||
|
@ -131,7 +131,6 @@ typedef enum
|
||||
MENU_SETTINGS_WINDOW_COMPOSITING_ENABLE,
|
||||
MENU_SETTINGS_PAUSE_IF_WINDOW_FOCUS_LOST,
|
||||
MENU_CONTENT_HISTORY_SIZE,
|
||||
MENU_SETTINGS_CONTENT_HISTORY_PATH,
|
||||
MENU_SCREENSHOT_DIR_PATH,
|
||||
MENU_BROWSER_DIR_PATH,
|
||||
MENU_CONTENT_DIR_PATH,
|
||||
@ -148,6 +147,7 @@ typedef enum
|
||||
MENU_SYSTEM_DIR_PATH,
|
||||
MENU_AUTOCONFIG_DIR_PATH,
|
||||
MENU_EXTRACTION_DIR_PATH,
|
||||
MENU_SETTINGS_CONTENT_HISTORY_PATH,
|
||||
MENU_SETTINGS_RESTART_GAME,
|
||||
MENU_SETTINGS_AUDIO_DSP_FILTER,
|
||||
MENU_SETTINGS_AUDIO_MUTE,
|
||||
|
Loading…
x
Reference in New Issue
Block a user