Remove horizontal slide animation for XMB

This commit is contained in:
Rob Loach 2017-07-14 14:49:41 -04:00
parent 9b1ab23aa1
commit 24107229fc
No known key found for this signature in database
GPG Key ID: 627C60834A74A21A

View File

@ -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)