From 8ce943cbe96f43bff6d2417c288d0dd1aa074739 Mon Sep 17 00:00:00 2001 From: mailwl Date: Wed, 19 Sep 2018 17:25:01 +0300 Subject: [PATCH] Stub HID:130 SwapNpadAssigment used in game Scribblenauts Showdown --- Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs b/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs index 2fd07ec76..60e1b975c 100644 --- a/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs +++ b/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs @@ -38,6 +38,7 @@ namespace Ryujinx.HLE.HOS.Services.Hid { 124, SetNpadJoyAssignmentModeDual }, { 125, MergeSingleJoyAsDualJoy }, { 128, SetNpadHandheldActivationMode }, + { 130, SwapNpadAssigment }, { 200, GetVibrationDeviceInfo }, { 201, SendVibrationValue }, { 203, CreateActiveVibrationDeviceList }, @@ -241,6 +242,16 @@ namespace Ryujinx.HLE.HOS.Services.Hid return 0; } + public long SwapNpadAssigment(ServiceCtx Context) + { + int Npad1 = Context.RequestData.ReadInt32(); + int Npad2 = Context.RequestData.ReadInt32(); + + Context.Device.Log.PrintStub(LogClass.ServiceHid, "Stubbed."); + + return 0; + } + public long GetVibrationDeviceInfo(ServiceCtx Context) { int VibrationDeviceHandle = Context.RequestData.ReadInt32();