1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-08 12:15:49 +00:00

Apply diff patch taking care of issues

This commit is contained in:
twinaphex 2021-05-24 18:40:40 +02:00
parent 4dcbd3e383
commit fb8c73508b
3 changed files with 12 additions and 3 deletions

View File

@ -1809,13 +1809,18 @@ static core_info_list_t *core_info_list_new(const char *path,
core_info_list->list = core_info;
core_info_list->count = path_list->core_list->size;
/* Read core info cache, if enabled */
#if !defined(IOS)
/* Read core info cache, if enabled
* > This functionality is hard disabled on iOS/tvOS,
* where core path changes on every install
* (invalidating any cached parameters) */
if (enable_cache)
{
core_info_cache_list = core_info_cache_read(info_dir);
if (!core_info_cache_list)
goto error;
}
#endif
for (i = 0; i < path_list->core_list->size; i++)
{

View File

@ -2446,9 +2446,8 @@ static int action_ok_playlist_entry_collection(const char *path,
}
else
{
#ifndef IOS
core_info = playlist_entry_get_core_info(entry);
#endif
if (core_info && !string_is_empty(core_info->path))
strlcpy(core_path, core_info->path, sizeof(core_path));
else

View File

@ -9396,6 +9396,11 @@ static bool setting_append_list(
#endif
for (i = 0; i < ARRAY_SIZE(bool_entries); i++)
{
#if defined(IOS)
if (bool_entries[i].name_enum_idx ==
MENU_ENUM_LABEL_CORE_INFO_CACHE_ENABLE)
continue;
#endif
CONFIG_BOOL(
list, list_info,
bool_entries[i].target,