Skip to content

Commit

Permalink
Fix burning CPU with udev disabled on Flatpak
Browse files Browse the repository at this point in the history
  • Loading branch information
nyanpasu64 authored Dec 4, 2022
1 parent 015dc49 commit 0cbd1c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/linuxbsd/joypad_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ void JoypadLinux::monitor_joypads() {
}
}
closedir(input_directory);
usleep(1000000); // 1s
}
usleep(1000000); // 1s
}

void JoypadLinux::close_joypads() {
Expand Down

0 comments on commit 0cbd1c8

Please sign in to comment.