mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +00:00
(XMB) Cleanups pt. 3
This commit is contained in:
parent
d85a8d5452
commit
cc9d5dae28
@ -512,7 +512,7 @@ static void xmb_list_open_new(xmb_handle_t *xmb, file_list_t *list, int dir, siz
|
||||
float ia;
|
||||
xmb_node_t *node = (xmb_node_t*)file_list_get_userdata_at_offset(list, i);
|
||||
|
||||
if (!xmb)
|
||||
if (!node)
|
||||
continue;
|
||||
|
||||
ia = xmb->i_passive_alpha;
|
||||
@ -606,7 +606,7 @@ static void xmb_list_switch_new(xmb_handle_t *xmb, file_list_t *list, int dir, s
|
||||
xmb_node_t *node = (xmb_node_t*)
|
||||
file_list_get_userdata_at_offset(list, i);
|
||||
|
||||
if (!xmb)
|
||||
if (!node)
|
||||
continue;
|
||||
|
||||
node->x = xmb->hspacing * dir;
|
||||
|
Loading…
Reference in New Issue
Block a user