Add irs IIrSensorServer: 319 (ActivateIrsensorWithFunctionLevel)
This commit is contained in:
parent
b8e0b56e0a
commit
fc8f139875
1 changed files with 14 additions and 2 deletions
|
@ -16,8 +16,9 @@ namespace Ryujinx.HLE.HOS.Services.Irs
|
||||||
{
|
{
|
||||||
_commands = new Dictionary<int, ServiceProcessRequest>
|
_commands = new Dictionary<int, ServiceProcessRequest>
|
||||||
{
|
{
|
||||||
{ 302, ActivateIrsensor },
|
{ 302, ActivateIrsensor },
|
||||||
{ 303, DeactivateIrsensor }
|
{ 303, DeactivateIrsensor },
|
||||||
|
{ 319, ActivateIrsensorWithFunctionLevel }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,5 +41,16 @@ namespace Ryujinx.HLE.HOS.Services.Irs
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ActivateIrsensorWithFunctionLevel(nn::applet::AppletResourceUserId, nn::irsensor::PackedFunctionLevel, pid)
|
||||||
|
public long ActivateIrsensorWithFunctionLevel(ServiceCtx context)
|
||||||
|
{
|
||||||
|
long appletResourceUserId = context.RequestData.ReadInt64();
|
||||||
|
int packedFunctionLevel = context.RequestData.ReadInt32();
|
||||||
|
|
||||||
|
Logger.PrintStub(LogClass.ServiceIrs, new { appletResourceUserId, packedFunctionLevel });
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue