ios: fix saving overrides always including libretro_directory (#17205)

This commit is contained in:
Eric Warmenhoven 2024-11-25 06:18:51 -05:00 committed by GitHub
parent 73efac6815
commit 6a17201d70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5671,6 +5671,10 @@ int8_t config_save_overrides(enum override_type type,
{
if (!string_is_equal(path_settings[i].ptr, path_overrides[i].ptr))
{
#if IOS
if (string_is_equal(path_settings[i].ident, "libretro_directory"))
continue;
#endif
config_set_path(conf, path_overrides[i].ident,
path_overrides[i].ptr);
RARCH_DBG("[Overrides]: %s = \"%s\"\n",