mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 23:06:40 +00:00
Simplify menu_cbs_init_bind_refresh
This commit is contained in:
parent
f53dc8fc67
commit
d405d34c0e
@ -31,16 +31,7 @@ int menu_cbs_init_bind_refresh(menu_file_list_cbs_t *cbs,
|
||||
if (!cbs)
|
||||
return -1;
|
||||
|
||||
switch (label_hash)
|
||||
{
|
||||
case MENU_VALUE_MAIN_MENU:
|
||||
cbs->action_refresh = NULL;
|
||||
break;
|
||||
default:
|
||||
cbs->action_refresh = action_refresh_default;
|
||||
break;
|
||||
}
|
||||
|
||||
cbs->action_refresh = action_refresh_default;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user