mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Revert "Simplify menu_cbs_init_bind_refresh"
This reverts commit d405d34c0e
.
This commit is contained in:
parent
9b83d4d80b
commit
2196e734d3
1 changed files with 10 additions and 1 deletions
|
@ -31,7 +31,16 @@ int menu_cbs_init_bind_refresh(menu_file_list_cbs_t *cbs,
|
|||
if (!cbs)
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue