mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 02:38:11 +00:00
(Menu) Refactor more ST_PATH settings
This commit is contained in:
parent
5e2eead66a
commit
3277ce93dc
@ -3256,20 +3256,6 @@ static int menu_common_setting_set(unsigned id, unsigned action, rarch_setting_t
|
||||
}
|
||||
}
|
||||
break;
|
||||
case MENU_SAVEFILE_DIR_PATH:
|
||||
if (action == MENU_ACTION_START)
|
||||
strlcpy(g_extern.savefile_dir, g_defaults.sram_dir, sizeof(g_extern.savefile_dir));
|
||||
break;
|
||||
#ifdef HAVE_OVERLAY
|
||||
case MENU_OVERLAY_DIR_PATH:
|
||||
if (action == MENU_ACTION_START)
|
||||
strlcpy(g_extern.overlay_dir, g_defaults.overlay_dir, sizeof(g_extern.overlay_dir));
|
||||
break;
|
||||
#endif
|
||||
case MENU_SAVESTATE_DIR_PATH:
|
||||
if (action == MENU_ACTION_START)
|
||||
strlcpy(g_extern.savestate_dir, g_defaults.savestate_dir, sizeof(g_extern.savestate_dir));
|
||||
break;
|
||||
case MENU_SETTINGS_DRIVER_VIDEO:
|
||||
if (action == MENU_ACTION_LEFT)
|
||||
find_prev_driver(RARCH_DRIVER_VIDEO, g_settings.video.driver, sizeof(g_settings.video.driver));
|
||||
|
Loading…
Reference in New Issue
Block a user