mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-11 12:16:39 +00:00
hid/irs: Stub StopImageProcessorAsync (#3799)
* Update IIrSensorServer.cs * Update IIrSensorServer.cs * Apply suggestions from code review Addressed formatting feedback Co-authored-by: Ac_K <Acoustik666@gmail.com> * Update IIrSensorServer.cs Co-authored-by: Ac_K <Acoustik666@gmail.com>
This commit is contained in:
parent
28ba55598d
commit
f7c7b66fc0
1 changed files with 13 additions and 1 deletions
|
@ -203,6 +203,18 @@ namespace Ryujinx.HLE.HOS.Services.Hid.Irs
|
|||
return ResultCode.Success;
|
||||
}
|
||||
|
||||
[CommandHipc(318)] // 4.0.0+
|
||||
// StopImageProcessorAsync(nn::irsensor::IrCameraHandle, nn::applet::AppletResourceUserId, pid)
|
||||
public ResultCode StopImageProcessorAsync(ServiceCtx context)
|
||||
{
|
||||
int irCameraHandle = context.RequestData.ReadInt32();
|
||||
long appletResourceUserId = context.RequestData.ReadInt64();
|
||||
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceIrs, new { appletResourceUserId, irCameraHandle });
|
||||
|
||||
return ResultCode.Success;
|
||||
}
|
||||
|
||||
[CommandHipc(319)] // 4.0.0+
|
||||
// ActivateIrsensorWithFunctionLevel(nn::applet::AppletResourceUserId, nn::irsensor::PackedFunctionLevel, pid)
|
||||
public ResultCode ActivateIrsensorWithFunctionLevel(ServiceCtx context)
|
||||
|
|
Loading…
Reference in a new issue