From 39b8e6bc37d81bf9aa186b873787a5290c09e9a4 Mon Sep 17 00:00:00 2001 From: DatBoiJay3 <38231221+DatBoiJay3@users.noreply.github.com> Date: Mon, 11 Jun 2018 19:29:12 -0700 Subject: [PATCH 1/2] Fix input in SMO Unsure if this will break other games though. Please test. :) --- Ryujinx.HLE/Hid/Hid.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Ryujinx.HLE/Hid/Hid.cs b/Ryujinx.HLE/Hid/Hid.cs index 054c4fac84..97a5260ebf 100644 --- a/Ryujinx.HLE/Hid/Hid.cs +++ b/Ryujinx.HLE/Hid/Hid.cs @@ -131,8 +131,7 @@ namespace Ryujinx.HLE.Input long BaseControllerOffset = Position + HidControllersOffset + 8 * HidControllerSize; HidControllerType Type = - HidControllerType.ControllerType_Handheld | - HidControllerType.ControllerType_JoyconPair; + HidControllerType.ControllerType_Handheld; bool IsHalf = false; @@ -276,4 +275,4 @@ namespace Ryujinx.HLE.Input return (long)((ulong)Environment.TickCount * 19_200); } } -} \ No newline at end of file +} From 274c996ff119ab201060e5818bc74879c2826c62 Mon Sep 17 00:00:00 2001 From: DatBoiJay3 <38231221+DatBoiJay3@users.noreply.github.com> Date: Mon, 11 Jun 2018 19:53:44 -0700 Subject: [PATCH 2/2] Neatness counts --- Ryujinx.HLE/Hid/Hid.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Ryujinx.HLE/Hid/Hid.cs b/Ryujinx.HLE/Hid/Hid.cs index 97a5260ebf..2f007f1fb0 100644 --- a/Ryujinx.HLE/Hid/Hid.cs +++ b/Ryujinx.HLE/Hid/Hid.cs @@ -130,8 +130,7 @@ namespace Ryujinx.HLE.Input { long BaseControllerOffset = Position + HidControllersOffset + 8 * HidControllerSize; - HidControllerType Type = - HidControllerType.ControllerType_Handheld; + HidControllerType Type = HidControllerType.ControllerType_Handheld; bool IsHalf = false;