Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

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 b835edf commit f157e87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/joystick/linux/SDL_sysjoystick.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -493,8 +493,7 @@ SDL_SYS_JoystickInit(void)
dev_nums[numjoysticks] = sb.st_rdev; dev_nums[numjoysticks] = sb.st_rdev;
++numjoysticks; ++numjoysticks;
} }
} else }
break;
} }


#if SDL_INPUT_LINUXEV #if SDL_INPUT_LINUXEV
Expand Down

0 comments on commit f157e87

Please sign in to comment.