mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Combine bit setting
This commit is contained in:
parent
e8c53cad10
commit
f8a9b0a197
@ -9404,8 +9404,7 @@ static int materialui_list_push(void *data, void *userdata,
|
||||
MENU_ENUM_LABEL_MENU_FILE_BROWSER_SETTINGS,
|
||||
MENU_SETTING_ACTION, 0, 0, NULL);
|
||||
|
||||
info->flags |= MD_FLAG_NEED_PUSH;
|
||||
info->flags |= MD_FLAG_NEED_REFRESH;
|
||||
info->flags |= MD_FLAG_NEED_PUSH | MD_FLAG_NEED_REFRESH;
|
||||
ret = 0;
|
||||
}
|
||||
break;
|
||||
|
@ -8680,8 +8680,7 @@ static int ozone_list_push(void *data, void *userdata,
|
||||
MENU_SETTING_ACTION, 0, 0, NULL);
|
||||
}
|
||||
|
||||
info->flags |= MD_FLAG_NEED_PUSH;
|
||||
info->flags |= MD_FLAG_NEED_REFRESH;
|
||||
info->flags |= MD_FLAG_NEED_PUSH | MD_FLAG_NEED_REFRESH;
|
||||
ret = 0;
|
||||
}
|
||||
break;
|
||||
|
@ -7476,8 +7476,7 @@ static int xmb_list_push(void *data, void *userdata,
|
||||
MENU_ENUM_LABEL_MENU_FILE_BROWSER_SETTINGS,
|
||||
MENU_SETTING_ACTION, 0, 0, NULL);
|
||||
|
||||
info->flags |= MD_FLAG_NEED_PUSH;
|
||||
info->flags |= MD_FLAG_NEED_REFRESH;
|
||||
info->flags |= MD_FLAG_NEED_PUSH | MD_FLAG_NEED_REFRESH;
|
||||
ret = 0;
|
||||
break;
|
||||
case DISPLAYLIST_MAIN_MENU:
|
||||
|
@ -2365,10 +2365,9 @@ static bool menu_driver_displaylist_push_internal(
|
||||
if (string_is_empty(dir_playlist))
|
||||
{
|
||||
menu_entries_ctl(MENU_ENTRIES_CTL_CLEAR, info->list);
|
||||
info->flags |= MD_FLAG_NEED_REFRESH;
|
||||
info->flags |= MD_FLAG_NEED_PUSH_NO_PLAYLIST_ENTRIES;
|
||||
info->flags |= MD_FLAG_NEED_PUSH;
|
||||
|
||||
info->flags |= MD_FLAG_NEED_REFRESH
|
||||
| MD_FLAG_NEED_PUSH_NO_PLAYLIST_ENTRIES
|
||||
| MD_FLAG_NEED_PUSH;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user