Fix burning CPU with udev disabled on Flatpak

Fixes #67355.
This commit is contained in:
nyanpasu64 2022-12-03 20:10:48 -08:00 committed by GitHub
parent 015dc492de
commit 0cbd1c85a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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