mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 05:43:34 +00:00
Check for fullscreen in RGUI.
This commit is contained in:
parent
829840b415
commit
c9a02273bb
@ -2141,6 +2141,9 @@ bool menu_iterate(void)
|
|||||||
#ifdef HAVE_OVERLAY
|
#ifdef HAVE_OVERLAY
|
||||||
rarch_check_overlay();
|
rarch_check_overlay();
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef RARCH_PERFORMANCE_MODE
|
||||||
|
rarch_check_fullscreen();
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GEKKO
|
#ifndef GEKKO
|
||||||
/* TODO - not sure if correct regarding RARCH_QUIT_KEY */
|
/* TODO - not sure if correct regarding RARCH_QUIT_KEY */
|
||||||
|
@ -689,6 +689,7 @@ void rarch_input_poll(void);
|
|||||||
void rarch_check_overlay(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);
|
||||||
|
bool rarch_check_fullscreen(void);
|
||||||
|
|
||||||
void rarch_load_state(void);
|
void rarch_load_state(void);
|
||||||
void rarch_save_state(void);
|
void rarch_save_state(void);
|
||||||
|
@ -1961,7 +1961,7 @@ static void check_savestates(bool immutable)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(RARCH_PERFORMANCE_MODE)
|
#if !defined(RARCH_PERFORMANCE_MODE)
|
||||||
static bool check_fullscreen(void)
|
bool rarch_check_fullscreen(void)
|
||||||
{
|
{
|
||||||
// If we go fullscreen we drop all drivers and reinit to be safe.
|
// If we go fullscreen we drop all drivers and reinit to be safe.
|
||||||
static bool was_pressed = false;
|
static bool was_pressed = false;
|
||||||
@ -2649,7 +2649,7 @@ static void do_state_checks(void)
|
|||||||
check_pause();
|
check_pause();
|
||||||
check_oneshot();
|
check_oneshot();
|
||||||
|
|
||||||
if (check_fullscreen() && g_extern.is_paused)
|
if (rarch_check_fullscreen() && g_extern.is_paused)
|
||||||
rarch_render_cached_frame();
|
rarch_render_cached_frame();
|
||||||
|
|
||||||
if (g_extern.is_paused && !g_extern.is_oneshot)
|
if (g_extern.is_paused && !g_extern.is_oneshot)
|
||||||
@ -2686,7 +2686,7 @@ static void do_state_checks(void)
|
|||||||
{
|
{
|
||||||
check_netplay_flip();
|
check_netplay_flip();
|
||||||
#if !defined(RARCH_PERFORMANCE_MODE)
|
#if !defined(RARCH_PERFORMANCE_MODE)
|
||||||
check_fullscreen();
|
rarch_check_fullscreen();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user