mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Tolerate unset database path.
This commit is contained in:
parent
28b1c9eada
commit
c05bb6e0c3
@ -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…
x
Reference in New Issue
Block a user