mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-11 05:16:12 +00:00
Merge pull request #1409 from lakkatv/xmb
(XMB) Fix a crash in xmb_get_userdata_from_core. Fixes #1408
This commit is contained in:
commit
2e651c6ffc
@ -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