From dba6c537f2c4d9650181c306c8086afc453122c0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 22 Feb 2017 18:44:59 +0100 Subject: [PATCH] Revert "Cleanups" This reverts commit e9f1b25e55608614dc6e599a1918051b170f246c. --- menu/cbs/menu_cbs_left.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/menu/cbs/menu_cbs_left.c b/menu/cbs/menu_cbs_left.c index add85b9c48..e6b54e4727 100644 --- a/menu/cbs/menu_cbs_left.c +++ b/menu/cbs/menu_cbs_left.c @@ -173,7 +173,11 @@ static int action_left_mainmenu(unsigned type, const char *label, bool wraparound) { menu_ctx_list_t list_info; + menu_handle_t *menu = NULL; + if (!menu_driver_ctl(RARCH_MENU_CTL_DRIVER_DATA_GET, &menu)) + return menu_cbs_exit(); + menu_driver_ctl(RARCH_MENU_CTL_LIST_GET_SELECTION, &list_info); list_info.type = MENU_LIST_PLAIN;