Fix burning CPU with udev disabled on Flatpak

Fixes #67355.

(cherry picked from commit 0cbd1c85a96384ef93978661e408ce7c1b721847)
This commit is contained in:
nyanpasu64 2022-12-03 20:10:48 -08:00 committed by Relintai
parent 9524cb6a74
commit 6064befd94

View File

@ -222,8 +222,8 @@ void JoypadLinux::monitor_joypads() {
}
}
closedir(input_directory);
usleep(1000000); // 1s
}
usleep(1000000); // 1s
}
void JoypadLinux::close_joypads() {