mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 10:20:41 +00:00
Merge pull request #12431 from yoshisuga/ios_disable_core_info_cache
[iOS/tvOS] Disable core info caching for iOS
This commit is contained in:
commit
e616b41b62
@ -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->list = core_info;
|
||||||
core_info_list->count = path_list->core_list->size;
|
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)
|
if (enable_cache)
|
||||||
{
|
{
|
||||||
core_info_cache_list = core_info_cache_read(info_dir);
|
core_info_cache_list = core_info_cache_read(info_dir);
|
||||||
if (!core_info_cache_list)
|
if (!core_info_cache_list)
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
for (i = 0; i < path_list->core_list->size; i++)
|
for (i = 0; i < path_list->core_list->size; i++)
|
||||||
{
|
{
|
||||||
|
@ -9396,6 +9396,11 @@ static bool setting_append_list(
|
|||||||
#endif
|
#endif
|
||||||
for (i = 0; i < ARRAY_SIZE(bool_entries); i++)
|
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(
|
CONFIG_BOOL(
|
||||||
list, list_info,
|
list, list_info,
|
||||||
bool_entries[i].target,
|
bool_entries[i].target,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user