We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fdc383 commit 2deb9a5Copy full SHA for 2deb9a5
vice/src/joyport/joystick.c
@@ -968,8 +968,6 @@ int joystick_cmdline_options_init(void)
968
969
int joystick_init(void)
970
{
971
- int i;
972
-
973
joystick_alarm = alarm_new(maincpu_alarm_context, "Joystick",
974
joystick_latch_handler, NULL);
975
@@ -988,6 +986,7 @@ int joystick_init(void)
988
986
#endif
989
987
990
#if (defined LINUX_JOYSTICK || defined HAS_USB_JOYSTICK || defined MAC_JOYSTICK)
+ int i;
991
for (i = 0; i < JOYPORT_MAX_PORTS; i++) {
992
if (joystick_port_map[i] >= JOYDEV_REALJOYSTICK_MIN) {
993
if (joystick_port_map[i] - JOYDEV_REALJOYSTICK_MIN < num_joystick_devices) {
0 commit comments