mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-11 22:47:27 +00:00
Start preparing code for fetching index dirs too
This commit is contained in:
parent
3d52f5e19c
commit
ca527de877
@ -98,6 +98,20 @@ finish:
|
|||||||
|
|
||||||
if (err)
|
if (err)
|
||||||
RARCH_ERR("%s: %s\n", msg_hash_to_str(MSG_DOWNLOAD_FAILED), err);
|
RARCH_ERR("%s: %s\n", msg_hash_to_str(MSG_DOWNLOAD_FAILED), err);
|
||||||
|
else if (!strstr(state->path, ".index-dirs"))
|
||||||
|
{
|
||||||
|
#if 0
|
||||||
|
char parent_dir[PATH_MAX_LENGTH] = {0};
|
||||||
|
fill_pathname_parent_dir(parent_dir,
|
||||||
|
state->path, sizeof(parent_dir));
|
||||||
|
strlcat(parent_dir, ".index-extended", sizeof(parent_dir));
|
||||||
|
|
||||||
|
transf = (menu_file_transfer_t*)calloc(1, sizeof(*transf));
|
||||||
|
strlcpy(transf->path, parent_dir, sizeof(transf->path));
|
||||||
|
|
||||||
|
task_push_http_transfer(parent_dir, false, url_label, cb_net_generic, transf);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
if (data)
|
if (data)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user