From 24107229fcb612d2a9ce6026e15e7c86a3af4f19 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Fri, 14 Jul 2017 14:49:41 -0400 Subject: [PATCH] Remove horizontal slide animation for XMB --- menu/drivers/xmb.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 22c7a88f4e..1a99b9fe68 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -610,7 +610,7 @@ static void xmb_draw_icon( static void xmb_draw_thumbnail( menu_display_frame_info_t menu_disp_info, xmb_handle_t *xmb, float *color, - unsigned width, unsigned height, + unsigned width, unsigned height, float x, float y, float w, float h, uintptr_t texture) { @@ -826,7 +826,7 @@ static void xmb_render_messagebox_internal( { const char *msg = list->elems[i].data; int len = (int)utf8len(msg); - + if (len > longest) { longest = len; @@ -1636,7 +1636,8 @@ static void xmb_list_switch(xmb_handle_t *xmb) xmb_list_switch_old(xmb, xmb->selection_buf_old, dir, xmb->selection_ptr_old); - xmb_list_switch_new(xmb, selection_buf, dir, selection); + // TODO: Add toggle for settings. + //xmb_list_switch_new(xmb, selection_buf, dir, selection); xmb->categories.active.idx_old = (unsigned)xmb->categories.selection_ptr; if (!string_is_equal(xmb_thumbnails_ident(), @@ -3811,8 +3812,9 @@ static void xmb_list_cache(void *data, enum menu_list_type type, unsigned action if (!xmb) return; - xmb_list_deep_copy(selection_buf, xmb->selection_buf_old); - xmb_list_deep_copy(menu_stack, xmb->menu_stack_old); + // TODO: Add toggle for settings. + //xmb_list_deep_copy(selection_buf, xmb->selection_buf_old); + //xmb_list_deep_copy(menu_stack, xmb->menu_stack_old); xmb->selection_ptr_old = selection; list_size = xmb_list_get_size(xmb, MENU_LIST_HORIZONTAL)