Update overlay when in RGUI.

This commit is contained in:
Themaister 2013-04-04 23:10:38 +02:00
parent 54cf6bc06f
commit cf92211254
3 changed files with 6 additions and 2 deletions

View File

@ -1792,6 +1792,9 @@ bool menu_iterate(void)
g_extern.frame_count++;
rarch_input_poll();
#ifdef HAVE_OVERLAY
rarch_check_overlay();
#endif
#ifndef GEKKO
/* TODO - not sure if correct regarding RARCH_QUIT_KEY */

View File

@ -713,6 +713,7 @@ void rarch_render_cached_frame(void);
void rarch_init_msg_queue(void);
void rarch_deinit_msg_queue(void);
void rarch_input_poll(void);
void rarch_check_overlay(void);
void rarch_init_rewind(void);
void rarch_deinit_rewind(void);

View File

@ -2581,7 +2581,7 @@ static void check_block_hotkey(void)
}
#ifdef HAVE_OVERLAY
static void check_overlay(void)
void rarch_check_overlay(void)
{
if (!driver.overlay)
return;
@ -2637,7 +2637,7 @@ static void do_state_checks(void)
#endif
#ifdef HAVE_OVERLAY
check_overlay();
rarch_check_overlay();
#endif
#ifdef HAVE_NETPLAY