mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
(Menu) Before we do cbs->refresh, reset 'cbs' - could have become
invalid
This commit is contained in:
parent
2196e734d3
commit
b826305e3c
1 changed files with 2 additions and 0 deletions
|
@ -425,6 +425,8 @@ int menu_entry_action(menu_entry_t *entry, unsigned i, enum menu_action action)
|
|||
break;
|
||||
}
|
||||
|
||||
cbs = menu_list_get_actiondata_at_offset(menu_list->selection_buf, i);
|
||||
|
||||
if (menu_entries_needs_refresh())
|
||||
{
|
||||
if (cbs && cbs->action_refresh)
|
||||
|
|
Loading…
Add table
Reference in a new issue