forget to wait on user input on hidWaitMask

This commit is contained in:
Such Meme, Many Skill committed 2020-05-02 23:51:16 +02:00
1 parent acb43b67db
commit 4907afd9f3
1 file changed
+4
+4
View File
@@ -83,6 +83,10 @@ Inputs *hidRead(){
Inputs *hidWaitMask(u32 mask){
Inputs *in = hidRead();
while (in->buttons)
hidRead();
while ((in->buttons & mask) == 0){
in = hidRead();
}