mirror of
https://github.com/libretro/RetroArch
synced 2025-03-16 07:21:03 +00:00
Merge pull request #12837 from sonninnos/ozone-check
(Ozone) Ensure the existence of values used in selection calculation
This commit is contained in:
commit
21d3c13ed3
@ -265,6 +265,9 @@ void ozone_update_scroll(ozone_handle_t *ozone, bool allow_animation, ozone_node
|
||||
|
||||
video_driver_get_size(NULL, &video_info_height);
|
||||
|
||||
if (!node)
|
||||
return;
|
||||
|
||||
current_selection_middle_onscreen =
|
||||
ozone->dimensions.header_height +
|
||||
ozone->dimensions.entry_padding_vertical +
|
||||
|
Loading…
x
Reference in New Issue
Block a user