Add SD_FLAG_* to remaining 'dir' settings

This commit is contained in:
twinaphex 2014-12-28 05:05:01 +01:00
parent c40a623d8f
commit 70abd3ea9b

View File

@ -5299,6 +5299,10 @@ static bool setting_data_append_list_path_options(
subgroup_info.name,
general_write_handler,
general_read_handler);
settings_data_list_current_add_flags(
list,
list_info,
SD_FLAG_ALLOW_EMPTY | SD_FLAG_PATH_DIR);
CONFIG_DIR(
g_extern.savestate_dir,
@ -5310,6 +5314,10 @@ static bool setting_data_append_list_path_options(
subgroup_info.name,
general_write_handler,
general_read_handler);
settings_data_list_current_add_flags(
list,
list_info,
SD_FLAG_ALLOW_EMPTY | SD_FLAG_PATH_DIR);
CONFIG_DIR(
g_settings.system_directory,
@ -5321,6 +5329,10 @@ static bool setting_data_append_list_path_options(
subgroup_info.name,
general_write_handler,
general_read_handler);
settings_data_list_current_add_flags(
list,
list_info,
SD_FLAG_ALLOW_EMPTY | SD_FLAG_PATH_DIR);
CONFIG_DIR(
g_settings.extraction_directory,
@ -5332,6 +5344,10 @@ static bool setting_data_append_list_path_options(
subgroup_info.name,
general_write_handler,
general_read_handler);
settings_data_list_current_add_flags(
list,
list_info,
SD_FLAG_ALLOW_EMPTY | SD_FLAG_PATH_DIR);
END_SUB_GROUP(list, list_info);
END_GROUP(list, list_info);