diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index fc018665bc..ec6aba0f5a 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -1063,8 +1063,8 @@ 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, info, cat_selection_ptr); + if (cat_selection_ptr) + core_node = xmb_get_userdata_from_core(xmb, info, cat_selection_ptr - 1); end = file_list_get_size(list);