Updates to nifm, irs and nvdrv services (#679)
This commit is contained in:
parent
26be1cb4e2
commit
6e8c080968
3 changed files with 50 additions and 12 deletions
|
@ -20,10 +20,11 @@ namespace Ryujinx.HLE.HOS.Services.Irs
|
|||
{
|
||||
_commands = new Dictionary<int, ServiceProcessRequest>
|
||||
{
|
||||
{ 302, ActivateIrsensor },
|
||||
{ 303, DeactivateIrsensor },
|
||||
{ 304, GetIrsensorSharedMemoryHandle },
|
||||
{ 311, GetNpadIrCameraHandle }
|
||||
{ 302, ActivateIrsensor },
|
||||
{ 303, DeactivateIrsensor },
|
||||
{ 304, GetIrsensorSharedMemoryHandle },
|
||||
{ 311, GetNpadIrCameraHandle },
|
||||
{ 319, ActivateIrsensorWithFunctionLevel }
|
||||
};
|
||||
|
||||
_irsSharedMem = irsSharedMem;
|
||||
|
@ -103,5 +104,16 @@ namespace Ryujinx.HLE.HOS.Services.Irs
|
|||
default: throw new ArgumentOutOfRangeException(nameof(npadId));
|
||||
}
|
||||
}
|
||||
|
||||
// ActivateIrsensorWithFunctionLevel(nn::applet::AppletResourceUserId, nn::irsensor::PackedFunctionLevel, pid)
|
||||
public long ActivateIrsensorWithFunctionLevel(ServiceCtx context)
|
||||
{
|
||||
long appletResourceUserId = context.RequestData.ReadInt64();
|
||||
long packedFunctionLevel = context.RequestData.ReadInt64();
|
||||
|
||||
Logger.PrintStub(LogClass.ServiceIrs, new { appletResourceUserId, packedFunctionLevel });
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue