1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-12-26 11:26:05 +00:00

forget to wait on user input on hidWaitMask

This commit is contained in:
Such Meme, Many Skill 2020-05-02 23:51:16 +02:00
parent acb43b67db
commit 4907afd9f3

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();
}