(XMB) Fix two

This commit is contained in:
twinaphex 2015-03-12 16:06:57 +01:00
parent b4ef0402fc
commit 11fcc951f1

View File

@ -1050,7 +1050,7 @@ static void xmb_draw_items(xmb_handle_t *xmb, gl_t *gl,
file_list_get_last(stack, NULL, &label, NULL);
if (xmb->categories.active.idx)
core_node = xmb_get_userdata_from_core(xmb, cat_selection_ptr);
core_node = xmb_get_userdata_from_core(xmb, cat_selection_ptr ? cat_selection_ptr : 0);
end = file_list_get_size(list);