Commit 42495af3 authored by Sam Lantinga's avatar Sam Lantinga

Fixed bug #497

Check all joysticks instead of stopping if one has been removed.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402670
parent 1a95219d
...@@ -493,8 +493,7 @@ SDL_SYS_JoystickInit(void) ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment