Merge pull request #69563 from nyanpasu64/patch-1
Fix burning CPU with udev disabled on Flatpak
This commit is contained in:
commit
14f23df1a3
@ -218,9 +218,9 @@ void JoypadLinux::monitor_joypads() {
|
||||
}
|
||||
}
|
||||
closedir(input_directory);
|
||||
}
|
||||
usleep(1000000); // 1s
|
||||
}
|
||||
}
|
||||
|
||||
void JoypadLinux::close_joypads() {
|
||||
for (int i = 0; i < JOYPADS_MAX; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user