Fix burning CPU with udev disabled on Flatpak

Fixes #67355.

(cherry picked from commit 0cbd1c85a9)
This commit is contained in:
nyanpasu64 2022-12-03 20:10:48 -08:00 committed by Haoyu Qiu
parent 9ac09dfb64
commit 8f5ccfa21f
1 changed files with 1 additions and 1 deletions

View File

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