mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +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,
|
0,
|
||||||
ACTION_OK_DL_PLAYLIST_MANAGER_SETTINGS);
|
ACTION_OK_DL_PLAYLIST_MANAGER_SETTINGS);
|
||||||
|
|
||||||
ozone->flags &= ~OZONE_FLAG_CURSOR_IN_SIDEBAR;
|
ozone->flags &= ~(OZONE_FLAG_CURSOR_IN_SIDEBAR
|
||||||
ozone->flags &= ~OZONE_FLAG_WANT_THUMBNAIL_BAR;
|
| OZONE_FLAG_WANT_THUMBNAIL_BAR);
|
||||||
ozone->flags2 |= OZONE_FLAG2_PENDING_CURSOR_IN_SIDEBAR;
|
ozone->flags2 |= OZONE_FLAG2_PENDING_CURSOR_IN_SIDEBAR;
|
||||||
|
|
||||||
ozone_refresh_sidebars(ozone, ozone_collapse_sidebar, ozone->last_height);
|
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_raw(writer, "\n", 1);
|
||||||
rjsonwriter_free(writer);
|
rjsonwriter_free(writer);
|
||||||
|
|
||||||
playlist->flags &= ~CNT_PLAYLIST_FLG_MOD;
|
playlist->flags &= ~(CNT_PLAYLIST_FLG_MOD
|
||||||
playlist->flags &= ~CNT_PLAYLIST_FLG_OLD_FMT;
|
| CNT_PLAYLIST_FLG_OLD_FMT
|
||||||
playlist->flags &= ~CNT_PLAYLIST_FLG_COMPRESSED;
|
| CNT_PLAYLIST_FLG_COMPRESSED);
|
||||||
|
|
||||||
RARCH_LOG("[Playlist]: Written to playlist file: \"%s\".\n", playlist->config.path);
|
RARCH_LOG("[Playlist]: Written to playlist file: \"%s\".\n", playlist->config.path);
|
||||||
end:
|
end:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user