Stub HID:130 SwapNpadAssigment

used in game Scribblenauts Showdown
This commit is contained in:
mailwl 2018-09-19 17:25:01 +03:00
parent b8133c1997
commit 8ce943cbe9

View file

@ -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();