Implement SetPlamaBoostMode

This commit is contained in:
jduncanator 2018-12-07 00:43:26 +11:00
parent 407c893e0f
commit a1f032e272

View file

@ -145,6 +145,7 @@ namespace Ryujinx.HLE.HOS.Services.Hid
{ 511, WritePalmaApplicationSection },
{ 512, ReadPalmaUniqueCode },
{ 513, SetPalmaUniqueCodeInvalid },
{ 525, SetPalmaBoostMode },
{ 1000, SetNpadCommunicationMode },
{ 1001, GetNpadCommunicationMode }
};
@ -1437,6 +1438,16 @@ namespace Ryujinx.HLE.HOS.Services.Hid
return 0;
}
// SetPalmaBoostMode(bool)
private long SetPalmaBoostMode(ServiceCtx context)
{
bool palmaBoostEnabled = context.RequestData.ReadBoolean();
Logger.PrintStub(LogClass.ServiceHid, new { palmaBoostEnabled });
return 0;
}
// SetNpadCommunicationMode(long CommunicationMode, nn::applet::AppletResourceUserId)
public long SetNpadCommunicationMode(ServiceCtx context)
{