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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402670
This commit is contained in:
Sam Lantinga 2007-12-29 06:17:31 +00:00
parent 1a95219d9e
commit 42495af337

View file

@ -493,8 +493,7 @@ SDL_SYS_JoystickInit(void)
dev_nums[numjoysticks] = sb.st_rdev;
++numjoysticks;
}
} else
break;
}
}
#if SDL_INPUT_LINUXEV