mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
potential fix for the overrides crash
This commit is contained in:
parent
6f13733184
commit
c1256e10b0
@ -1868,7 +1868,7 @@ bool config_load_override(void)
|
||||
}
|
||||
|
||||
/* Early return in case a library isn't loaded */
|
||||
if (!info->info.library_name || !strcmp(info->info.library_name,"No Core"))
|
||||
if (!info->info.library_name[0] != '\0' || !strcmp(info->info.library_name,"No Core"))
|
||||
return false;
|
||||
|
||||
RARCH_LOG("Overrides: core name: %s\n", info->info.library_name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user