mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 21:39:54 +00:00
Merge pull request #8478 from natinusala/master
ozone: prevent content metadata from lagging
This commit is contained in:
commit
bf89c4bd3d
@ -1293,8 +1293,6 @@ static void ozone_selection_changed(ozone_handle_t *ozone, bool allow_animation)
|
|||||||
size_t new_selection = menu_navigation_get_selection();
|
size_t new_selection = menu_navigation_get_selection();
|
||||||
ozone_node_t *node = (ozone_node_t*) file_list_get_userdata_at_offset(selection_buf, new_selection);
|
ozone_node_t *node = (ozone_node_t*) file_list_get_userdata_at_offset(selection_buf, new_selection);
|
||||||
|
|
||||||
ozone_update_content_metadata(ozone);
|
|
||||||
|
|
||||||
menu_entry_init(&entry);
|
menu_entry_init(&entry);
|
||||||
|
|
||||||
if (!node)
|
if (!node)
|
||||||
@ -1311,6 +1309,8 @@ static void ozone_selection_changed(ozone_handle_t *ozone, bool allow_animation)
|
|||||||
|
|
||||||
ozone->cursor_in_sidebar_old = ozone->cursor_in_sidebar;
|
ozone->cursor_in_sidebar_old = ozone->cursor_in_sidebar;
|
||||||
|
|
||||||
|
ozone_update_content_metadata(ozone);
|
||||||
|
|
||||||
menu_animation_kill_by_tag(&tag);
|
menu_animation_kill_by_tag(&tag);
|
||||||
ozone_update_scroll(ozone, allow_animation, node);
|
ozone_update_scroll(ozone, allow_animation, node);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user