mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 18:50:29 +00:00
Cleanup
This commit is contained in:
parent
6cd2173382
commit
5da4cb754a
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user