(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:
parent
a1cf3c1eae
commit
16c7c7fbb9
|
@ -959,6 +959,9 @@ static void xmb_draw_items(file_list_t *list, file_list_t *stack,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (i > (current + 100))
|
||||||
|
continue;
|
||||||
|
|
||||||
xmb_draw_icon(icon,
|
xmb_draw_icon(icon,
|
||||||
node->x + xmb->margin_left + xmb->hspacing - xmb->icon_size/2.0,
|
node->x + xmb->margin_left + xmb->hspacing - xmb->icon_size/2.0,
|
||||||
xmb->margin_top + node->y + xmb->icon_size/2.0,
|
xmb->margin_top + node->y + xmb->icon_size/2.0,
|
||||||
|
|
Loading…
Reference in New Issue