mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(GX) Make find_and_set_first_file the same as code for PS3
This commit is contained in:
parent
d0fff4a625
commit
413822c32c
@ -62,8 +62,11 @@ static void find_and_set_first_file(void)
|
||||
find_first_libretro_core(first_file, sizeof(first_file),
|
||||
default_paths.core_dir, "dol");
|
||||
|
||||
if(first_file[0])
|
||||
strlcpy(libretro_path, first_file, sizeof(libretro_path));
|
||||
if(first_file)
|
||||
{
|
||||
fill_pathname_join(libretro_path, default_paths.core_dir, first_file, sizeof(libretro_path));
|
||||
RARCH_LOG("libretro_path now set to: %s.\n", libretro_path);
|
||||
}
|
||||
else
|
||||
RARCH_ERR("Failed last fallback - RetroArch Salamander will exit.\n");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user