diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-05 18:07:02 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-05 18:07:02 +0100 |
commit | 14f23df1a3c78ad53af61d14b57146b57c51e01b (patch) | |
tree | 2aa022e09fc6ed701e5ee6bcb4f55fe2de809f70 | |
parent | 45c6950f1b45dfb2959b85b29078e699ec52ea6a (diff) | |
parent | 0cbd1c85a96384ef93978661e408ce7c1b721847 (diff) |
Merge pull request #69563 from nyanpasu64/patch-1
Fix burning CPU with udev disabled on Flatpak
-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() { |