mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-05 01:16:38 +00:00
Always set core path like this
This commit is contained in:
parent
9780d68d8a
commit
06814f44d4
@ -529,10 +529,10 @@ static void frontend_ps3_process_args(int *argc, char *argv[])
|
||||
* it loads on first boot, so we make sure
|
||||
* active core path is set here. */
|
||||
|
||||
if (config_active_core_path_is_empty() && *argc >= 1 && strrchr(argv[0], '/'))
|
||||
if (*argc >= 1)
|
||||
{
|
||||
char path[PATH_MAX_LENGTH] = {0};
|
||||
strlcpy(path, strrchr(argv[0], '/') + 1, sizeof(path));
|
||||
strlcpy(path, argv[0], sizeof(path));
|
||||
if (path_file_exists(path))
|
||||
runloop_ctl(RUNLOOP_CTL_SET_LIBRETRO_PATH, path);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user