From 46b5c5e79fb6ff8611361441198ee5b6a130c3b4 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 10 Dec 2015 15:47:08 +0100 Subject: [PATCH] (XMB) Cleanup --- menu/drivers/xmb.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index cbe67f3b8d..269b7cab59 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -915,16 +915,12 @@ static void xmb_list_switch(xmb_handle_t *xmb) { size_t selection; int dir = -1; - menu_handle_t *menu = menu_driver_get_ptr(); file_list_t *selection_buf = menu_entries_get_selection_buf_ptr(0); settings_t *settings = config_get_ptr(); if (!menu_navigation_ctl(MENU_NAVIGATION_CTL_GET_SELECTION, &selection)) return; - if (!menu) - return; - if (xmb->categories.selection_ptr > xmb->categories.selection_ptr_old) dir = 1;