mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Buildfix
This commit is contained in:
parent
0777a6d625
commit
647abd6aba
@ -3037,6 +3037,8 @@ static void xmb_frame(void *data, video_frame_info_t *video_info)
|
|||||||
bool render_background = false;
|
bool render_background = false;
|
||||||
file_list_t *selection_buf = NULL;
|
file_list_t *selection_buf = NULL;
|
||||||
xmb_handle_t *xmb = (xmb_handle_t*)data;
|
xmb_handle_t *xmb = (xmb_handle_t*)data;
|
||||||
|
float window_width = video_info->width;
|
||||||
|
float window_height = video_info->height;
|
||||||
|
|
||||||
if (!xmb)
|
if (!xmb)
|
||||||
return;
|
return;
|
||||||
@ -3138,8 +3140,6 @@ static void xmb_frame(void *data, video_frame_info_t *video_info)
|
|||||||
|
|
||||||
thumb_width = xmb->thumbnail_width;
|
thumb_width = xmb->thumbnail_width;
|
||||||
thumb_height = xmb->thumbnail_height;
|
thumb_height = xmb->thumbnail_height;
|
||||||
float window_width = video_info->width;
|
|
||||||
float window_height = video_info->height;
|
|
||||||
const float around_thumb_margin = 0.96;
|
const float around_thumb_margin = 0.96;
|
||||||
|
|
||||||
if( xmb->margins_screen_top + xmb->icon_size + xmb->thumbnail_height * scale_mod[4] >=
|
if( xmb->margins_screen_top + xmb->icon_size + xmb->thumbnail_height * scale_mod[4] >=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user