Commit ec155344 authored by Sam Lantinga's avatar Sam Lantinga

Fixed bug #497

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

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402669
parent 4b268050
......@@ -473,8 +473,7 @@ int SDL_SYS_JoystickInit(void)
dev_nums[numjoysticks] = sb.st_rdev;
++numjoysticks;
}
} else
break;
}
}
#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