mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Add representations for config string options
This commit is contained in:
parent
52b6d73c5a
commit
efb8649027
@ -3563,9 +3563,13 @@ static bool setting_append_list_driver_options(
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group,
|
||||
NULL,
|
||||
NULL);
|
||||
general_read_handler,
|
||||
general_write_handler);
|
||||
settings_data_list_current_add_flags(list, list_info, SD_FLAG_IS_DRIVER);
|
||||
strlcpy(
|
||||
(*list)[list_info->index - 1].value.source.string,
|
||||
(*list)[list_info->index - 1].value.target.string,
|
||||
(*list)[list_info->index - 1].size);
|
||||
(*list)[list_info->index - 1].action_left = setting_string_action_left_driver;
|
||||
(*list)[list_info->index - 1].action_right = setting_string_action_right_driver;
|
||||
|
||||
@ -3583,6 +3587,10 @@ static bool setting_append_list_driver_options(
|
||||
NULL,
|
||||
NULL);
|
||||
settings_data_list_current_add_flags(list, list_info, SD_FLAG_IS_DRIVER);
|
||||
strlcpy(
|
||||
(*list)[list_info->index - 1].value.source.string,
|
||||
(*list)[list_info->index - 1].value.target.string,
|
||||
(*list)[list_info->index - 1].size);
|
||||
(*list)[list_info->index - 1].action_left = setting_string_action_left_driver;
|
||||
(*list)[list_info->index - 1].action_right = setting_string_action_right_driver;
|
||||
|
||||
@ -3600,6 +3608,10 @@ static bool setting_append_list_driver_options(
|
||||
NULL,
|
||||
NULL);
|
||||
settings_data_list_current_add_flags(list, list_info, SD_FLAG_IS_DRIVER);
|
||||
strlcpy(
|
||||
(*list)[list_info->index - 1].value.source.string,
|
||||
(*list)[list_info->index - 1].value.target.string,
|
||||
(*list)[list_info->index - 1].size);
|
||||
(*list)[list_info->index - 1].action_left = setting_string_action_left_driver;
|
||||
(*list)[list_info->index - 1].action_right = setting_string_action_right_driver;
|
||||
|
||||
@ -3617,6 +3629,10 @@ static bool setting_append_list_driver_options(
|
||||
NULL,
|
||||
NULL);
|
||||
settings_data_list_current_add_flags(list, list_info, SD_FLAG_IS_DRIVER);
|
||||
strlcpy(
|
||||
(*list)[list_info->index - 1].value.source.string,
|
||||
(*list)[list_info->index - 1].value.target.string,
|
||||
(*list)[list_info->index - 1].size);
|
||||
(*list)[list_info->index - 1].action_left = setting_string_action_left_driver;
|
||||
(*list)[list_info->index - 1].action_right = setting_string_action_right_driver;
|
||||
|
||||
@ -3634,6 +3650,10 @@ static bool setting_append_list_driver_options(
|
||||
NULL,
|
||||
NULL);
|
||||
settings_data_list_current_add_flags(list, list_info, SD_FLAG_IS_DRIVER);
|
||||
strlcpy(
|
||||
(*list)[list_info->index - 1].value.source.string,
|
||||
(*list)[list_info->index - 1].value.target.string,
|
||||
(*list)[list_info->index - 1].size);
|
||||
(*list)[list_info->index - 1].action_left = setting_string_action_left_driver;
|
||||
(*list)[list_info->index - 1].action_right = setting_string_action_right_driver;
|
||||
|
||||
@ -3651,6 +3671,10 @@ static bool setting_append_list_driver_options(
|
||||
NULL,
|
||||
NULL);
|
||||
settings_data_list_current_add_flags(list, list_info, SD_FLAG_IS_DRIVER);
|
||||
strlcpy(
|
||||
(*list)[list_info->index - 1].value.source.string,
|
||||
(*list)[list_info->index - 1].value.target.string,
|
||||
(*list)[list_info->index - 1].size);
|
||||
(*list)[list_info->index - 1].action_left = setting_string_action_left_driver;
|
||||
(*list)[list_info->index - 1].action_right = setting_string_action_right_driver;
|
||||
|
||||
@ -3668,6 +3692,10 @@ static bool setting_append_list_driver_options(
|
||||
NULL,
|
||||
NULL);
|
||||
settings_data_list_current_add_flags(list, list_info, SD_FLAG_IS_DRIVER);
|
||||
strlcpy(
|
||||
(*list)[list_info->index - 1].value.source.string,
|
||||
(*list)[list_info->index - 1].value.target.string,
|
||||
(*list)[list_info->index - 1].size);
|
||||
(*list)[list_info->index - 1].action_left = setting_string_action_left_driver;
|
||||
(*list)[list_info->index - 1].action_right = setting_string_action_right_driver;
|
||||
|
||||
@ -3685,6 +3713,10 @@ static bool setting_append_list_driver_options(
|
||||
NULL,
|
||||
NULL);
|
||||
settings_data_list_current_add_flags(list, list_info, SD_FLAG_IS_DRIVER);
|
||||
strlcpy(
|
||||
(*list)[list_info->index - 1].value.source.string,
|
||||
(*list)[list_info->index - 1].value.target.string,
|
||||
(*list)[list_info->index - 1].size);
|
||||
(*list)[list_info->index - 1].action_left = setting_string_action_left_driver;
|
||||
(*list)[list_info->index - 1].action_right = setting_string_action_right_driver;
|
||||
|
||||
@ -3702,6 +3734,10 @@ static bool setting_append_list_driver_options(
|
||||
NULL,
|
||||
NULL);
|
||||
settings_data_list_current_add_flags(list, list_info, SD_FLAG_IS_DRIVER);
|
||||
strlcpy(
|
||||
(*list)[list_info->index - 1].value.source.string,
|
||||
(*list)[list_info->index - 1].value.target.string,
|
||||
(*list)[list_info->index - 1].size);
|
||||
(*list)[list_info->index - 1].action_left = setting_string_action_left_driver;
|
||||
(*list)[list_info->index - 1].action_right = setting_string_action_right_driver;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user