mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 15:26:55 -05:00
Fix from Alfred Perlstein
This commit is contained in:
parent
7f6b90a196
commit
e360be74cf
|
|
@ -160,6 +160,7 @@ SDL_SYS_JoystickInit(void)
|
|||
SDL_numjoysticks++;
|
||||
} else {
|
||||
free(joynames[nj.index]);
|
||||
joynames[nj.index] = NULL;
|
||||
}
|
||||
}
|
||||
for (i = 0; i < MAX_JOY_JOYS; i++) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user