mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Dehardcode 'DETECT'
This commit is contained in:
parent
f5881c17ef
commit
6d531f1892
@ -678,8 +678,8 @@ static int action_ok_playlist_entry_collection(const char *path,
|
|||||||
RARCH_LOG("playlist file: %s\n", menu->db_playlist_file);
|
RARCH_LOG("playlist file: %s\n", menu->db_playlist_file);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if ( string_is_equal(core_path, "DETECT")
|
if ( string_is_equal(core_path, file_path_str(FILE_PATH_DETECT))
|
||||||
&& string_is_equal(core_name, "DETECT"))
|
&& string_is_equal(core_name, file_path_str(FILE_PATH_DETECT)))
|
||||||
{
|
{
|
||||||
core_info_ctx_find_t core_info;
|
core_info_ctx_find_t core_info;
|
||||||
char new_core_path[PATH_MAX_LENGTH] = {0};
|
char new_core_path[PATH_MAX_LENGTH] = {0};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user