mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-19 20:46:05 +00:00
SDL_PrivateJoystickForceRecentering(): fix infinite loop
This commit is contained in:
parent
32ef82caaf
commit
b5ef75249f
1 changed files with 1 additions and 1 deletions
|
|
@ -2492,7 +2492,7 @@ bool SDL_IsJoystickBeingAdded(void)
|
|||
|
||||
void SDL_PrivateJoystickForceRecentering(SDL_Joystick *joystick)
|
||||
{
|
||||
Uint8 i, j;
|
||||
int i, j;
|
||||
Uint64 timestamp = SDL_GetTicksNS();
|
||||
|
||||
SDL_AssertJoysticksLocked();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue