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

--HG--
branch : SDL-1.2
This commit is contained in:
Sam Lantinga
2007-12-29 06:16:35 +00:00
parent 09cd129590
commit 76f1001651

View File

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