mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-14 06:18:34 +00:00
Merge pull request #5449 from bkoropoff/serial-info-crash
menu_displaylist: don't crash on serial-only database entries
This commit is contained in:
commit
5c6ad1645d
@ -1912,7 +1912,10 @@ static int menu_displaylist_parse_database_entry(menu_displaylist_info_t *info)
|
||||
NULL, NULL, NULL, NULL,
|
||||
NULL, &crc32);
|
||||
|
||||
tmp_str_list = string_split(crc32, "|");
|
||||
if (crc32)
|
||||
{
|
||||
tmp_str_list = string_split(crc32, "|");
|
||||
}
|
||||
|
||||
if (!tmp_str_list)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user