fixes cpu busy spinning when there is no hid data available (#356)
This commit is contained in:
parent
f1d4febf8f
commit
c4f5bbdc56
1 changed files with 1 additions and 0 deletions
|
@ -775,6 +775,7 @@ namespace BetterJoyForCemu {
|
|||
} else if (a == 0) {
|
||||
// The non-blocking read timed out. No need to sleep.
|
||||
// No need to increase attempts because it's not an error.
|
||||
Thread.Sleep((Int32)5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue