From 9eba2d80f723161a6beadcbc74aa0ceda361bc8a Mon Sep 17 00:00:00 2001 From: Lordmau5 Date: Mon, 11 Jun 2018 01:54:07 +0200 Subject: [PATCH] Implement SwapNpadAssignment on IHidServer --- Ryujinx.Core/OsHle/Services/Hid/IHidServer.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Ryujinx.Core/OsHle/Services/Hid/IHidServer.cs b/Ryujinx.Core/OsHle/Services/Hid/IHidServer.cs index b603d93604..b1eb612800 100644 --- a/Ryujinx.Core/OsHle/Services/Hid/IHidServer.cs +++ b/Ryujinx.Core/OsHle/Services/Hid/IHidServer.cs @@ -34,6 +34,7 @@ namespace Ryujinx.Core.OsHle.Services.Hid { 124, SetNpadJoyAssignmentModeDual }, { 125, MergeSingleJoyAsDualJoy }, { 128, SetNpadHandheldActivationMode }, + { 130, SwapNpadAssignment }, { 200, GetVibrationDeviceInfo }, { 201, SendVibrationValue }, { 203, CreateActiveVibrationDeviceList }, @@ -226,6 +227,13 @@ namespace Ryujinx.Core.OsHle.Services.Hid return 0; } + public long SwapNpadAssignment(ServiceCtx Context) + { + Context.Ns.Log.PrintStub(LogClass.ServiceHid, "Stubbed."); + + return 0; + } + public long GetVibrationDeviceInfo(ServiceCtx Context) { int VibrationDeviceHandle = Context.RequestData.ReadInt32();