mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-29 03:00:24 +00:00
Move menu_unset_refresh call
This commit is contained in:
parent
e59dc3a64a
commit
3ead5590e6
@ -2034,11 +2034,7 @@ int menu_displaylist_push(file_list_t *list, file_list_t *menu_list)
|
||||
strlcpy(info.path, path, sizeof(info.path));
|
||||
strlcpy(info.label, label, sizeof(info.label));
|
||||
|
||||
ret = menu_displaylist_deferred_push(&info);
|
||||
|
||||
menu_unset_refresh();
|
||||
|
||||
return ret;
|
||||
return menu_displaylist_deferred_push(&info);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -491,7 +491,11 @@ int menu_entry_action(menu_entry_t *entry, unsigned i, enum menu_action action)
|
||||
|
||||
case MENU_ACTION_REFRESH:
|
||||
if (cbs && cbs->action_refresh)
|
||||
return cbs->action_refresh(menu_list->selection_buf, menu_list->menu_stack);
|
||||
{
|
||||
int ret = cbs->action_refresh(menu_list->selection_buf, menu_list->menu_stack);
|
||||
menu_unset_refresh();
|
||||
return ret;
|
||||
}
|
||||
break;
|
||||
|
||||
case MENU_ACTION_MESSAGE:
|
||||
|
Loading…
Reference in New Issue
Block a user