Sleep for MiSTer process while HPS screen is active.

This commit is contained in:
sorgelig
2019-05-28 01:06:34 +08:00
parent 15f8a5c7fa
commit e81d13819e

View File

@@ -2576,7 +2576,7 @@ int input_test(int getchar)
if (state == 2)
{
int return_value = poll(pool, NUMDEV + 1, 0);
int return_value = poll(pool, NUMDEV + 1, (is_menu_core() && video_fb_state()) ? 500 : 0);
if (return_value < 0)
{
printf("ERR: poll\n");