Combine bit setting

This commit is contained in:
LibretroAdmin 2022-10-05 20:42:30 +02:00
parent e8c53cad10
commit f8a9b0a197
4 changed files with 6 additions and 10 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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:

View File

@ -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;
}