Revert "Cleanups"

This reverts commit e9f1b25e55608614dc6e599a1918051b170f246c.
This commit is contained in:
twinaphex 2017-02-22 18:44:59 +01:00
parent e9f1b25e55
commit dba6c537f2

View File

@ -173,6 +173,10 @@ static int action_left_mainmenu(unsigned type, const char *label,
bool wraparound) bool wraparound)
{ {
menu_ctx_list_t list_info; 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); menu_driver_ctl(RARCH_MENU_CTL_LIST_GET_SELECTION, &list_info);