Should now idle at menu if pause_nonactive is true

This commit is contained in:
twinaphex 2015-11-27 20:34:43 +01:00
parent ec9ec9e079
commit f42098013f

View File

@ -931,8 +931,14 @@ int rarch_main_iterate(unsigned *sleep_ms)
if (menu_driver_iterate((enum menu_action)menu_input_frame_retropad(input, trigger_input)) == -1)
rarch_ctl(RARCH_ACTION_STATE_MENU_RUNNING_FINISHED, NULL);
if (!rarch_main_ctl(RARCH_MAIN_CTL_CHECK_IDLE_STATE, &cmd))
{
*sleep_ms = 10;
return 1;
}
if (!input && settings->menu.pause_libretro)
return 1;
return 1;
goto end;
}
#endif