mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
commit
eadaad57da
@ -1174,14 +1174,14 @@ static void xmb_draw_items(xmb_handle_t *xmb, gl_t *gl,
|
|||||||
file_list_t *list, file_list_t *stack,
|
file_list_t *list, file_list_t *stack,
|
||||||
size_t current, size_t cat_selection_ptr)
|
size_t current, size_t cat_selection_ptr)
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i, width, height, ticker_limit;
|
||||||
unsigned width, height;
|
|
||||||
math_matrix_4x4 mymat, mrot, mscal;
|
math_matrix_4x4 mymat, mrot, mscal;
|
||||||
const char *label = NULL;
|
const char *label = NULL;
|
||||||
xmb_node_t *core_node = NULL;
|
xmb_node_t *core_node = NULL;
|
||||||
size_t end = 0;
|
size_t end = 0;
|
||||||
uint64_t frame_count = video_driver_get_frame_count();
|
uint64_t frame_count = video_driver_get_frame_count();
|
||||||
menu_handle_t *menu = menu_driver_get_ptr();
|
menu_handle_t *menu = menu_driver_get_ptr();
|
||||||
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
||||||
if (!list || !list->size || !menu)
|
if (!list || !list->size || !menu)
|
||||||
return;
|
return;
|
||||||
@ -1329,7 +1329,16 @@ static void xmb_draw_items(xmb_handle_t *xmb, gl_t *gl,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
menu_animation_ticker_line(name, 35,
|
ticker_limit = 35;
|
||||||
|
if (entry.value[0] == '\0')
|
||||||
|
{
|
||||||
|
if (settings->menu.boxart_enable && xmb->boxart)
|
||||||
|
ticker_limit = 40;
|
||||||
|
else
|
||||||
|
ticker_limit = 70;
|
||||||
|
}
|
||||||
|
|
||||||
|
menu_animation_ticker_line(name, ticker_limit,
|
||||||
frame_count / 20, entry.path,
|
frame_count / 20, entry.path,
|
||||||
(i == current));
|
(i == current));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user