mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Update core_info_find
This commit is contained in:
parent
158e4614dd
commit
519e4e038a
@ -540,11 +540,11 @@ bool core_info_load(core_info_ctx_find_t *info)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool core_info_find(core_info_ctx_find_t *info)
|
||||
bool core_info_find(core_info_ctx_find_t *info, const char *core_path)
|
||||
{
|
||||
if (!info || !core_info_curr_list)
|
||||
return false;
|
||||
info->inf = core_info_find_internal(core_info_curr_list, info->path);
|
||||
info->inf = core_info_find_internal(core_info_curr_list, core_path);
|
||||
if (!info->inf)
|
||||
return false;
|
||||
return true;
|
||||
|
@ -115,7 +115,7 @@ bool core_info_get_list(core_info_list_t **core);
|
||||
|
||||
bool core_info_list_update_missing_firmware(core_info_ctx_firmware_t *info);
|
||||
|
||||
bool core_info_find(core_info_ctx_find_t *info);
|
||||
bool core_info_find(core_info_ctx_find_t *info, const char *name);
|
||||
|
||||
bool core_info_load(core_info_ctx_find_t *info);
|
||||
|
||||
|
@ -872,7 +872,7 @@ static int action_ok_playlist_entry_collection(const char *path,
|
||||
core_info.inf = NULL;
|
||||
core_info.path = new_core_path;
|
||||
|
||||
if (!core_info_find(&core_info))
|
||||
if (!core_info_find(&core_info, new_core_path))
|
||||
found_associated_core = false;
|
||||
|
||||
if (!found_associated_core)
|
||||
@ -958,7 +958,7 @@ static int action_ok_playlist_entry(const char *path,
|
||||
core_info.inf = NULL;
|
||||
core_info.path = new_core_path;
|
||||
|
||||
if (!core_info_find(&core_info))
|
||||
if (!core_info_find(&core_info, new_core_path))
|
||||
found_associated_core = false;
|
||||
|
||||
if (!found_associated_core)
|
||||
@ -1057,7 +1057,7 @@ static int action_ok_playlist_entry_start_content(const char *path,
|
||||
core_info.inf = NULL;
|
||||
core_info.path = new_core_path;
|
||||
|
||||
if (!core_info_find(&core_info))
|
||||
if (!core_info_find(&core_info, new_core_path))
|
||||
found_associated_core = false;
|
||||
|
||||
if (!found_associated_core)
|
||||
|
Loading…
x
Reference in New Issue
Block a user