rarch_main_iterate_overlay_state - early return in case runloop

is idle
This commit is contained in:
twinaphex 2015-03-08 17:57:00 +01:00
parent dd167d3c84
commit 10208eb625

View File

@ -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: