fix reversed logic

This commit is contained in:
David Walters 2017-12-17 12:46:21 +00:00
parent adffa5fc4c
commit 02f6301607

View File

@ -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));