1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-18 01:26:40 +00:00

Fixed whitespace issues

This commit is contained in:
Aaron Murgatroyd 2023-12-17 02:34:17 +10:00 committed by TheToid
parent 89c2c6c76b
commit 3f6fca2921

View file

@ -374,8 +374,15 @@ namespace Ryujinx.Input.SDL2
if (joyconStickConfig != null) if (joyconStickConfig != null)
{ {
if (joyconStickConfig.InvertStickX) resultX = -resultX; if (joyconStickConfig.InvertStickX)
if (joyconStickConfig.InvertStickY) resultY = -resultY; {
resultX = -resultX;
}
if (joyconStickConfig.InvertStickY)
{
resultY = -resultY;
}
if (joyconStickConfig.Rotate90CW) if (joyconStickConfig.Rotate90CW)
{ {