mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-25 20:25:42 +00:00
Use fill_pathname_join_delim
This commit is contained in:
parent
61fe38bf6d
commit
8f720541c9
@ -499,8 +499,10 @@ int generic_action_ok_displaylist_push(const char *path,
|
|||||||
break;
|
break;
|
||||||
case ACTION_OK_DL_CORE_CONTENT_DIRS_SUBDIR_LIST:
|
case ACTION_OK_DL_CORE_CONTENT_DIRS_SUBDIR_LIST:
|
||||||
{
|
{
|
||||||
char new_path[PATH_MAX_LENGTH];
|
char new_path[PATH_MAX_LENGTH] = {0};
|
||||||
snprintf(new_path, sizeof(new_path), "%s;%s", path, label);
|
|
||||||
|
fill_pathname_join_delim(new_path, path, label, ';',
|
||||||
|
sizeof(new_path));
|
||||||
info.type = type;
|
info.type = type;
|
||||||
info.directory_ptr = idx;
|
info.directory_ptr = idx;
|
||||||
info_path = new_path;
|
info_path = new_path;
|
||||||
|
Loading…
Reference in New Issue
Block a user