mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
rarch_main_iterate_overlay_state - early return in case runloop
is idle
This commit is contained in:
parent
dd167d3c84
commit
10208eb625
1 changed files with 3 additions and 0 deletions
|
@ -878,6 +878,9 @@ static int rarch_main_iterate_quit(void)
|
|||
#ifdef HAVE_OVERLAY
|
||||
void rarch_main_iterate_overlay_state(void)
|
||||
{
|
||||
if (g_runloop.is_idle)
|
||||
return;
|
||||
|
||||
switch (driver.overlay->state)
|
||||
{
|
||||
case OVERLAY_STATUS_NONE:
|
||||
|
|
Loading…
Add table
Reference in a new issue