mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
(XMB) Fix a crash in xmb_get_userdata_from_core. Fixes #1408
This commit is contained in:
parent
bd970322ee
commit
0cb72b3497
@ -592,6 +592,9 @@ static xmb_node_t* xmb_get_userdata_from_core(xmb_handle_t *xmb, int i)
|
||||
if (!info_list)
|
||||
return NULL;
|
||||
|
||||
if (!info_list->count)
|
||||
return NULL;
|
||||
|
||||
info = (core_info_t*)&info_list->list[i];
|
||||
|
||||
if (!info)
|
||||
|
Loading…
x
Reference in New Issue
Block a user