mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
potential fix for the overrides crash
This commit is contained in:
parent
6f13733184
commit
c1256e10b0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue