Merge pull request #17710 from warmenhoven/warmenhoven/pr/apple-strlcpy

apple: fix strlcpy where src and dst are the same
This commit is contained in:
LibretroAdmin 2025-03-19 18:04:41 -07:00 committed by GitHub
commit e6887be45c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -2281,7 +2281,8 @@ bool task_push_load_new_core(
path_set(RARCH_PATH_CORE, core_path);
/* Remember core path for reloading */
path_set(RARCH_PATH_CORE_LAST, core_path);
if (!string_is_equal(core_path, path_get(RARCH_PATH_CORE_LAST)))
path_set(RARCH_PATH_CORE_LAST, core_path);
/* Load core */
command_event(CMD_EVENT_LOAD_CORE, NULL);