mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Revert "Simplify menu_cbs_init_bind_refresh"
This reverts commit d405d34c0e4700df688d7aeaa19d9910983ee7ca.
This commit is contained in:
parent
9b83d4d80b
commit
2196e734d3
@ -31,7 +31,16 @@ int menu_cbs_init_bind_refresh(menu_file_list_cbs_t *cbs,
|
|||||||
if (!cbs)
|
if (!cbs)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
cbs->action_refresh = action_refresh_default;
|
switch (label_hash)
|
||||||
|
{
|
||||||
|
case MENU_VALUE_MAIN_MENU:
|
||||||
|
cbs->action_refresh = NULL;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
cbs->action_refresh = action_refresh_default;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user