mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 09:39:56 +00:00
(RMenu) BUildfixes
This commit is contained in:
parent
4f54dbe9d9
commit
65e60be271
@ -128,7 +128,6 @@ static void rmenu_render(void)
|
|||||||
char title_buf[256] = {0};
|
char title_buf[256] = {0};
|
||||||
char title_msg[64] = {0};
|
char title_msg[64] = {0};
|
||||||
menu_handle_t *menu = menu_driver_get_ptr();
|
menu_handle_t *menu = menu_driver_get_ptr();
|
||||||
file_list_t *selection_buf = menu_entries_get_selection_buf_ptr();
|
|
||||||
uint64_t *frame_count = video_driver_get_frame_count();
|
uint64_t *frame_count = video_driver_get_frame_count();
|
||||||
size_t entries_end = menu_entries_get_end();
|
size_t entries_end = menu_entries_get_end();
|
||||||
|
|
||||||
@ -150,11 +149,8 @@ static void rmenu_render(void)
|
|||||||
&& !msg_force)
|
&& !msg_force)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
menu_display_fb_unset_dirty();
|
menu_display_ctl(MENU_DISPLAY_CTL_UNSET_FRAMEBUFFER_DIRTY_FLAG, NULL);
|
||||||
menu_animation_clear_active();
|
menu_animation_ctl(MENU_ANIMATION_CTL_CLEAR_ACTIVE, NULL);
|
||||||
|
|
||||||
if (!selection_buf)
|
|
||||||
return;
|
|
||||||
|
|
||||||
begin = (selection >= (ENTRIES_HEIGHT / 2)) ?
|
begin = (selection >= (ENTRIES_HEIGHT / 2)) ?
|
||||||
(selection - (ENTRIES_HEIGHT / 2)) : 0;
|
(selection - (ENTRIES_HEIGHT / 2)) : 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user