diff options
author | nyanpasu64 <nyanpasu64@tuta.io> | 2022-12-03 20:10:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-03 20:10:48 -0800 |
commit | 0cbd1c85a96384ef93978661e408ce7c1b721847 (patch) | |
tree | 6428c36fd3b674a338b3414c130737f34c1716f1 | |
parent | 015dc492de33a41eaeb14c0503a6be10466fe457 (diff) |
Fix burning CPU with udev disabled on Flatpak
Fixes #67355.
-rw-r--r-- | platform/linuxbsd/joypad_linux.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linuxbsd/joypad_linux.cpp b/platform/linuxbsd/joypad_linux.cpp index bc018e366b..4eaf6965c9 100644 --- a/platform/linuxbsd/joypad_linux.cpp +++ b/platform/linuxbsd/joypad_linux.cpp @@ -218,8 +218,8 @@ void JoypadLinux::monitor_joypads() { } } closedir(input_directory); + usleep(1000000); // 1s } - usleep(1000000); // 1s } void JoypadLinux::close_joypads() { |