mirror of
https://github.com/yawut/SDL.git
synced 2026-09-11 10:36:27 -05:00
It works better if you compile it.
This commit is contained in:
@@ -403,7 +403,7 @@ SDL_JoystickQuit(void)
|
||||
/* Stop the event polling */
|
||||
SDL_numjoysticks = 0;
|
||||
|
||||
for (i = numjoysticks; i--; ) {
|
||||
for (i = numsticks; i--; ) {
|
||||
SDL_Joystick *stick = SDL_joysticks[i];
|
||||
if (stick && (stick->ref_count >= 1)) {
|
||||
stick->ref_count = 1;
|
||||
|
||||
Reference in New Issue
Block a user