mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-29 03:00:24 +00:00
Don't bind action_refresh when we are at main menu
This commit is contained in:
parent
738efe3f3c
commit
4571485917
@ -29,7 +29,16 @@ int menu_entries_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…
Reference in New Issue
Block a user