mirror of
https://github.com/libretro/RetroArch
synced 2025-02-09 00:40:09 +00:00
Merge pull request #1476 from heuripedes/master
(Menu) Set framebuf.dirty = true in menu_init
This commit is contained in:
commit
dd167d3c84
10
menu/menu.c
10
menu/menu.c
@ -211,6 +211,8 @@ void *menu_init(const void *data)
|
|||||||
|
|
||||||
rarch_assert(menu->msg_queue = msg_queue_new(8));
|
rarch_assert(menu->msg_queue = msg_queue_new(8));
|
||||||
|
|
||||||
|
g_runloop.frames.video.current.menu.framebuf.dirty = true;
|
||||||
|
|
||||||
return menu;
|
return menu;
|
||||||
error:
|
error:
|
||||||
if (menu->menu_list)
|
if (menu->menu_list)
|
||||||
@ -389,10 +391,6 @@ int menu_iterate(retro_input_t input,
|
|||||||
menu->dt = IDEAL_DT / 4;
|
menu->dt = IDEAL_DT / 4;
|
||||||
menu->old_time = menu->cur_time;
|
menu->old_time = menu->cur_time;
|
||||||
|
|
||||||
g_runloop.frames.video.current.menu.animation.is_active = false;
|
|
||||||
g_runloop.frames.video.current.menu.label.is_updated = false;
|
|
||||||
g_runloop.frames.video.current.menu.framebuf.dirty = false;
|
|
||||||
|
|
||||||
if (driver.menu_ctx)
|
if (driver.menu_ctx)
|
||||||
{
|
{
|
||||||
if (driver.menu_ctx->set_texture)
|
if (driver.menu_ctx->set_texture)
|
||||||
@ -406,6 +404,10 @@ int menu_iterate(retro_input_t input,
|
|||||||
if (g_settings.menu.throttle && (g_settings.menu.pause_libretro || !g_extern.content_is_init))
|
if (g_settings.menu.throttle && (g_settings.menu.pause_libretro || !g_extern.content_is_init))
|
||||||
draw_frame();
|
draw_frame();
|
||||||
|
|
||||||
|
g_runloop.frames.video.current.menu.animation.is_active = false;
|
||||||
|
g_runloop.frames.video.current.menu.label.is_updated = false;
|
||||||
|
g_runloop.frames.video.current.menu.framebuf.dirty = false;
|
||||||
|
|
||||||
if (ret)
|
if (ret)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user