mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 18:20:27 +00:00
Should now idle at menu if pause_nonactive is true
This commit is contained in:
parent
ec9ec9e079
commit
f42098013f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user