From e81d13819e2c77d9adb7e3dfe848e443a9aaf720 Mon Sep 17 00:00:00 2001 From: sorgelig Date: Tue, 28 May 2019 01:06:34 +0800 Subject: [PATCH] Sleep for MiSTer process while HPS screen is active. --- input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input.cpp b/input.cpp index 2492108..c3ca788 100644 --- a/input.cpp +++ b/input.cpp @@ -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");