This commit is contained in:
twinaphex 2015-10-18 20:41:33 +02:00
parent 6cd2173382
commit 5da4cb754a

View File

@ -233,7 +233,6 @@ static void menu_list_push(file_list_t *list,
size_t idx; size_t idx;
const menu_ctx_driver_t *driver = menu_ctx_driver_get_ptr(); const menu_ctx_driver_t *driver = menu_ctx_driver_get_ptr();
menu_file_list_cbs_t *cbs = NULL; menu_file_list_cbs_t *cbs = NULL;
rarch_setting_t *setting = NULL;
if (!list || !label) if (!list || !label)
return; return;
@ -253,9 +252,7 @@ static void menu_list_push(file_list_t *list,
file_list_set_actiondata(list, idx, cbs); file_list_set_actiondata(list, idx, cbs);
setting = menu_setting_find(label); cbs->setting = menu_setting_find(label);
cbs->setting = (setting) ? setting : NULL;
menu_cbs_init(list, cbs, path, label, type, idx); menu_cbs_init(list, cbs, path, label, type, idx);
} }