(XMB) Only try to render about 100 items or so that are conceivably visible

at the same time - should significantly optimize displaying of the MAME
database
This commit is contained in:
twinaphex 2015-02-01 23:29:12 +01:00
parent a1cf3c1eae
commit 16c7c7fbb9

View File

@ -959,6 +959,9 @@ static void xmb_draw_items(file_list_t *list, file_list_t *stack,
break;
}
if (i > (current + 100))
continue;
xmb_draw_icon(icon,
node->x + xmb->margin_left + xmb->hspacing - xmb->icon_size/2.0,
xmb->margin_top + node->y + xmb->icon_size/2.0,