Merge pull request #12444 from Jamiras/info_crash

This commit is contained in:
Autechre 2021-05-28 08:50:21 +02:00 committed by GitHub
commit 0d7a028ce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4015,6 +4015,7 @@ static unsigned menu_displaylist_parse_content_information(
content_path = loaded_content_path;
core_path = loaded_core_path;
if (core_info_find(core_path, &core_info))
if (!string_is_empty(core_info->display_name))
strlcpy(core_name, core_info->display_name, sizeof(core_name));
}