Merge pull request #1409 from lakkatv/xmb

(XMB) Fix a crash in xmb_get_userdata_from_core. Fixes #1408
This commit is contained in:
Twinaphex 2015-02-12 18:54:21 +01:00
commit 2e651c6ffc

View File

@ -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)