mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
iOS/tvOS: When updating playlist with detected core path, used resolved core path (#15372)
This commit is contained in:
parent
6b9727911b
commit
7b263461da
@ -2646,17 +2646,19 @@ static int action_ok_playlist_entry_collection(const char *path,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Cache core path */
|
|
||||||
strlcpy(core_path, core_info->path, sizeof(core_path));
|
|
||||||
|
|
||||||
/* Update playlist entry */
|
/* Update playlist entry */
|
||||||
update_entry.core_path = core_info->path;
|
strlcpy(core_path, core_info->path, sizeof(core_path));
|
||||||
|
playlist_resolve_path(PLAYLIST_SAVE, true, core_path, sizeof(core_path));
|
||||||
|
update_entry.core_path = core_path;
|
||||||
update_entry.core_name = core_info->display_name;
|
update_entry.core_name = core_info->display_name;
|
||||||
|
|
||||||
command_playlist_update_write(
|
command_playlist_update_write(
|
||||||
playlist,
|
playlist,
|
||||||
selection_ptr,
|
selection_ptr,
|
||||||
&update_entry);
|
&update_entry);
|
||||||
|
|
||||||
|
/* Cache core path */
|
||||||
|
strlcpy(core_path, core_info->path, sizeof(core_path));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user