Fix burning CPU with udev disabled on Flatpak
Fixes #67355.
(cherry picked from commit 0cbd1c85a9
)
This commit is contained in:
parent
9ac09dfb64
commit
8f5ccfa21f
1 changed files with 1 additions and 1 deletions
|
@ -222,8 +222,8 @@ void JoypadLinux::monitor_joypads() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
closedir(input_directory);
|
closedir(input_directory);
|
||||||
}
|
|
||||||
usleep(1000000); // 1s
|
usleep(1000000); // 1s
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void JoypadLinux::close_joypads() {
|
void JoypadLinux::close_joypads() {
|
||||||
|
|
Loading…
Reference in a new issue