mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 03:10:14 +00:00
rarch_main_iterate_overlay_state - early return in case runloop
is idle
This commit is contained in:
parent
dd167d3c84
commit
10208eb625
@ -878,6 +878,9 @@ static int rarch_main_iterate_quit(void)
|
|||||||
#ifdef HAVE_OVERLAY
|
#ifdef HAVE_OVERLAY
|
||||||
void rarch_main_iterate_overlay_state(void)
|
void rarch_main_iterate_overlay_state(void)
|
||||||
{
|
{
|
||||||
|
if (g_runloop.is_idle)
|
||||||
|
return;
|
||||||
|
|
||||||
switch (driver.overlay->state)
|
switch (driver.overlay->state)
|
||||||
{
|
{
|
||||||
case OVERLAY_STATUS_NONE:
|
case OVERLAY_STATUS_NONE:
|
||||||
|
Loading…
Reference in New Issue
Block a user