Merge pull request #9295 from jeffreydvp/master

Bug caused by typo
This commit is contained in:
Twinaphex 2019-08-13 11:09:46 +02:00 committed by GitHub
commit 82d8f180c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -398,7 +398,7 @@ static int16_t switch_input_state(void *data,
}
if (((float)abs(sw->joypad->axis(joypad_info.joy_idx, joyaxis)) / 0x8000) > joypad_info.axis_threshold)
{
ret |= (1 << 1);
ret |= (1 << i);
continue;
}
}