mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-08 13:11:54 +00:00
forget to wait on user input on hidWaitMask
This commit is contained in:
parent
acb43b67db
commit
4907afd9f3
1 changed files with 4 additions and 0 deletions
|
@ -83,6 +83,10 @@ Inputs *hidRead(){
|
|||
|
||||
Inputs *hidWaitMask(u32 mask){
|
||||
Inputs *in = hidRead();
|
||||
|
||||
while (in->buttons)
|
||||
hidRead();
|
||||
|
||||
while ((in->buttons & mask) == 0){
|
||||
in = hidRead();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue