mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Tolerate unset database path.
This commit is contained in:
parent
28b1c9eada
commit
c05bb6e0c3
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ static int database_info_iterate_crc_lookup(
|
|||
const char *zip_entry)
|
||||
{
|
||||
|
||||
if ((unsigned)db_state->list_index == (unsigned)db_state->list->size)
|
||||
if (!db_state->list || (unsigned)db_state->list_index == (unsigned)db_state->list->size)
|
||||
return database_info_list_iterate_end_no_match(db_state);
|
||||
|
||||
if (db_state->entry_index == 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue