mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
(Ozone) Prevent metadata and footer overlap (#15677)
This commit is contained in:
parent
f565879d5b
commit
ca7231f47c
@ -5222,6 +5222,10 @@ static void ozone_content_metadata_line(
|
|||||||
uint32_t color,
|
uint32_t color,
|
||||||
uint8_t lines_count)
|
uint8_t lines_count)
|
||||||
{
|
{
|
||||||
|
if (*y + (lines_count * (unsigned)ozone->fonts.footer.line_height)
|
||||||
|
> video_height - ozone->dimensions.footer_height)
|
||||||
|
return;
|
||||||
|
|
||||||
gfx_display_draw_text(
|
gfx_display_draw_text(
|
||||||
ozone->fonts.footer.font,
|
ozone->fonts.footer.font,
|
||||||
text,
|
text,
|
||||||
|
Loading…
Reference in New Issue
Block a user