Skip to content

Commit

Permalink
Fixed bug #497
Browse files Browse the repository at this point in the history
Check all joysticks instead of stopping if one has been removed.
  • Loading branch information
slouken committed Dec 29, 2007
1 parent 2da7adf commit 7090061
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/joystick/linux/SDL_sysjoystick.c
Expand Up @@ -473,8 +473,7 @@ int SDL_SYS_JoystickInit(void)
dev_nums[numjoysticks] = sb.st_rdev;
++numjoysticks;
}
} else
break;
}
}

#if SDL_INPUT_LINUXEV
Expand Down

0 comments on commit 7090061

Please sign in to comment.