early-access version 2847

This commit is contained in:
pineappleEA
2022-07-19 05:48:31 +02:00
parent ba74a2373c
commit 05e3c38e7f
498 changed files with 16027 additions and 27028 deletions

View File

@@ -492,7 +492,8 @@ SDL_DINPUT_HapticOpenFromJoystick(SDL_Haptic * haptic, SDL_Joystick * joystick)
++index;
}
return SDL_SetError("Couldn't find joystick in haptic device list");
SDL_SetError("Couldn't find joystick in haptic device list");
return -1;
}
void
@@ -958,7 +959,8 @@ SDL_DINPUT_HapticNewEffect(SDL_Haptic * haptic, struct haptic_effect *effect, SD
REFGUID type = SDL_SYS_HapticEffectType(base);
if (type == NULL) {
return SDL_SetError("Haptic: Unknown effect type.");
SDL_SetError("Haptic: Unknown effect type.");
return -1;
}
/* Get the effect. */

View File

@@ -246,7 +246,8 @@ SDL_XINPUT_HapticOpenFromJoystick(SDL_Haptic * haptic, SDL_Joystick * joystick)
++index;
}
return SDL_SetError("Couldn't find joystick in haptic device list");
SDL_SetError("Couldn't find joystick in haptic device list");
return -1;
}
void