mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 07:59:42 +00:00
Optimize some flag setting
This commit is contained in:
parent
91516cdd49
commit
5fbb19ea85
@ -8094,8 +8094,8 @@ static enum menu_action ozone_parse_menu_entry_action(
|
||||
0,
|
||||
ACTION_OK_DL_PLAYLIST_MANAGER_SETTINGS);
|
||||
|
||||
ozone->flags &= ~OZONE_FLAG_CURSOR_IN_SIDEBAR;
|
||||
ozone->flags &= ~OZONE_FLAG_WANT_THUMBNAIL_BAR;
|
||||
ozone->flags &= ~(OZONE_FLAG_CURSOR_IN_SIDEBAR
|
||||
| OZONE_FLAG_WANT_THUMBNAIL_BAR);
|
||||
ozone->flags2 |= OZONE_FLAG2_PENDING_CURSOR_IN_SIDEBAR;
|
||||
|
||||
ozone_refresh_sidebars(ozone, ozone_collapse_sidebar, ozone->last_height);
|
||||
|
@ -1708,9 +1708,9 @@ void playlist_write_runtime_file(playlist_t *playlist)
|
||||
rjsonwriter_raw(writer, "\n", 1);
|
||||
rjsonwriter_free(writer);
|
||||
|
||||
playlist->flags &= ~CNT_PLAYLIST_FLG_MOD;
|
||||
playlist->flags &= ~CNT_PLAYLIST_FLG_OLD_FMT;
|
||||
playlist->flags &= ~CNT_PLAYLIST_FLG_COMPRESSED;
|
||||
playlist->flags &= ~(CNT_PLAYLIST_FLG_MOD
|
||||
| CNT_PLAYLIST_FLG_OLD_FMT
|
||||
| CNT_PLAYLIST_FLG_COMPRESSED);
|
||||
|
||||
RARCH_LOG("[Playlist]: Written to playlist file: \"%s\".\n", playlist->config.path);
|
||||
end:
|
||||
|
Loading…
Reference in New Issue
Block a user