mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-25 07:35:38 +00:00
Fixed style
This commit is contained in:
parent
34634082ff
commit
d797582376
|
@ -518,12 +518,9 @@ SDL_SYS_JoystickUpdate(SDL_Joystick * joystick)
|
|||
if (item->joystick) {
|
||||
if (Android_JNI_GetAccelerometerValues(values)) {
|
||||
for ( i = 0; i < 3; i++ ) {
|
||||
if (values[i] > 1.0f)
|
||||
{
|
||||
if (values[i] > 1.0f) {
|
||||
values[i] = 1.0f;
|
||||
}
|
||||
else if (values[i] < -1.0f)
|
||||
{
|
||||
} else if (values[i] < -1.0f) {
|
||||
values[i] = -1.0f;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue