Description
I was tracking down why we ended up with a bogus gamepad_mask value using -Wall and found several other bugs in the process.
Purpose
Fixes gamepad_mask to avoid falsely claiming to have a connected gamepad when one is not present.
Fixes loop_remove_fd() to work correctly for fds beyond the first in the array
Description I was tracking down why we ended up with a bogus
gamepad_mask
value using-Wall
and found several other bugs in the process.Purpose Fixes
gamepad_mask
to avoid falsely claiming to have a connected gamepad when one is not present. Fixesloop_remove_fd()
to work correctly for fds beyond the first in the array