mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-07 18:39:37 +01:00
whitespace.
This commit is contained in:
parent
f1c7cc710b
commit
637d425e3e
0
Xcode/SDL/SDL.xcodeproj/project.pbxproj
Executable file → Normal file
0
Xcode/SDL/SDL.xcodeproj/project.pbxproj
Executable file → Normal file
@ -1012,7 +1012,7 @@ IOS_MFIJoystickUpdate(SDL_Joystick *joystick)
|
|||||||
@autoreleasepool {
|
@autoreleasepool {
|
||||||
if (@available(macos 11.0, iOS 14.0, tvOS 14.0, *)) {
|
if (@available(macos 11.0, iOS 14.0, tvOS 14.0, *)) {
|
||||||
NSError *error;
|
NSError *error;
|
||||||
|
|
||||||
if (self->engine == nil) {
|
if (self->engine == nil) {
|
||||||
return SDL_SetError("Haptics engine was stopped");
|
return SDL_SetError("Haptics engine was stopped");
|
||||||
}
|
}
|
||||||
@ -1292,7 +1292,7 @@ IOS_JoystickUpdate(SDL_Joystick *joystick)
|
|||||||
if (device == NULL) {
|
if (device == NULL) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (device->accelerometer) {
|
if (device->accelerometer) {
|
||||||
IOS_AccelerometerUpdate(joystick);
|
IOS_AccelerometerUpdate(joystick);
|
||||||
} else if (device->controller) {
|
} else if (device->controller) {
|
||||||
|
Loading…
Reference in New Issue
Block a user