From 02f630160757dad57809d117af1272b2c953795c Mon Sep 17 00:00:00 2001 From: David Walters Date: Sun, 17 Dec 2017 12:46:21 +0000 Subject: [PATCH] fix reversed logic --- input/input_overlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/input_overlay.c b/input/input_overlay.c index 5b1b9203a9..168c393dc1 100644 --- a/input/input_overlay.c +++ b/input/input_overlay.c @@ -336,7 +336,7 @@ static void input_overlay_poll( } } - if (bits_any_set(out->buttons.data, ARRAY_SIZE(out->buttons.data))) + if (!bits_any_set(out->buttons.data, ARRAY_SIZE(out->buttons.data))) ol->blocked = false; else if (ol->blocked) memset(out, 0, sizeof(*out));