mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Revert "I think this can be moved below this return block"
This reverts commit a10e36ebb6ffdeb08ae052729ededff46d554e68.
This commit is contained in:
parent
a10e36ebb6
commit
4504c9fba1
@ -1359,14 +1359,15 @@ int runloop_iterate(unsigned *sleep_ms)
|
|||||||
if (menu_driver_iterate((enum menu_action)menu_input_frame_retropad(cmd.state[0], cmd.state[2])) == -1)
|
if (menu_driver_iterate((enum menu_action)menu_input_frame_retropad(cmd.state[0], cmd.state[2])) == -1)
|
||||||
rarch_ctl(RARCH_CTL_MENU_RUNNING_FINISHED, NULL);
|
rarch_ctl(RARCH_CTL_MENU_RUNNING_FINISHED, NULL);
|
||||||
|
|
||||||
|
if (focused || !is_idle)
|
||||||
|
menu_driver_ctl(RARCH_MENU_CTL_RENDER, NULL);
|
||||||
|
|
||||||
if (!focused || is_idle)
|
if (!focused || is_idle)
|
||||||
{
|
{
|
||||||
*sleep_ms = 10;
|
*sleep_ms = 10;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
menu_driver_ctl(RARCH_MENU_CTL_RENDER, NULL);
|
|
||||||
|
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user