It works better if you compile it.
This commit is contained in:
parent
f98e88676c
commit
29177954e7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue