Update overlay when in RGUI.
This commit is contained in:
parent
54cf6bc06f
commit
cf92211254
|
@ -1792,6 +1792,9 @@ bool menu_iterate(void)
|
||||||
|
|
||||||
g_extern.frame_count++;
|
g_extern.frame_count++;
|
||||||
rarch_input_poll();
|
rarch_input_poll();
|
||||||
|
#ifdef HAVE_OVERLAY
|
||||||
|
rarch_check_overlay();
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GEKKO
|
#ifndef GEKKO
|
||||||
/* TODO - not sure if correct regarding RARCH_QUIT_KEY */
|
/* TODO - not sure if correct regarding RARCH_QUIT_KEY */
|
||||||
|
|
|
@ -713,6 +713,7 @@ void rarch_render_cached_frame(void);
|
||||||
void rarch_init_msg_queue(void);
|
void rarch_init_msg_queue(void);
|
||||||
void rarch_deinit_msg_queue(void);
|
void rarch_deinit_msg_queue(void);
|
||||||
void rarch_input_poll(void);
|
void rarch_input_poll(void);
|
||||||
|
void rarch_check_overlay(void);
|
||||||
void rarch_init_rewind(void);
|
void rarch_init_rewind(void);
|
||||||
void rarch_deinit_rewind(void);
|
void rarch_deinit_rewind(void);
|
||||||
|
|
||||||
|
|
|
@ -2581,7 +2581,7 @@ static void check_block_hotkey(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_OVERLAY
|
#ifdef HAVE_OVERLAY
|
||||||
static void check_overlay(void)
|
void rarch_check_overlay(void)
|
||||||
{
|
{
|
||||||
if (!driver.overlay)
|
if (!driver.overlay)
|
||||||
return;
|
return;
|
||||||
|
@ -2637,7 +2637,7 @@ static void do_state_checks(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_OVERLAY
|
#ifdef HAVE_OVERLAY
|
||||||
check_overlay();
|
rarch_check_overlay();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_NETPLAY
|
#ifdef HAVE_NETPLAY
|
||||||
|
|
Loading…
Reference in New Issue