Fix blocking

This commit is contained in:
Steven Tracey 2024-11-27 21:35:33 -05:00
parent c6ce7d766c
commit 8b6f34b08f

View File

@ -110,7 +110,7 @@ int readButtons() {
int getBtn() { int getBtn() {
while (1) { while (1) {
int key = readButtons(); int key = readButtons();
if (!isBlocking) { if (isBlocking == 0) {
return key; return key;
} }
if (key != -1) { if (key != -1) {