mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 08:59:58 +00:00
Refactor xmb_get_userdata_from_horizontal_list
This commit is contained in:
parent
087e1354ec
commit
33bb7ad76e
@ -660,12 +660,7 @@ static xmb_node_t *xmb_node_allocate_userdata(xmb_handle_t *xmb, unsigned i)
|
||||
static xmb_node_t* xmb_get_userdata_from_horizontal_list(
|
||||
xmb_handle_t *xmb, unsigned i)
|
||||
{
|
||||
struct item_file *info = (struct item_file*)&xmb->horizontal_list->list[i];
|
||||
|
||||
if (info)
|
||||
return (xmb_node_t*)info->actiondata;
|
||||
|
||||
return NULL;
|
||||
return (xmb_node_t*)file_list_get_actiondata_at_offset(xmb->horizontal_list, i);
|
||||
}
|
||||
|
||||
static void xmb_push_animations(xmb_node_t *node, float ia, float ix)
|
||||
|
Loading…
Reference in New Issue
Block a user