apple: fix strlcpy where src and dst are the same

This commit is contained in:
Eric Warmenhoven 2025-03-17 15:33:45 -04:00
parent 5365639a36
commit 86fddd5326
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);