Apply suggestions from code review
Co-authored-by: Ac_K <Acoustik666@gmail.com>
This commit is contained in:
parent
f84d94c552
commit
18f3325638
1 changed files with 3 additions and 3 deletions
|
@ -1111,11 +1111,11 @@ namespace Ryujinx.HLE.HOS.Services.Hid
|
|||
// SetNpadUseAnalogStickUseCenterClamp(bool Enable, nn::applet::AppletResourceUserId)
|
||||
public ResultCode SetNpadUseAnalogStickUseCenterClamp(ServiceCtx context)
|
||||
{
|
||||
ulong PID = context.RequestData.ReadUInt64();
|
||||
_NpadAnalogStickCenterClampEnabled = context.RequestData.ReadUInt32() != 0;
|
||||
ulong pid = context.RequestData.ReadUInt64();
|
||||
_npadAnalogStickCenterClampEnabled = context.RequestData.ReadUInt32() != 0;
|
||||
long appletResourceUserId = context.RequestData.ReadInt64();
|
||||
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceHid, new { appletResourceUserId, _NpadAnalogStickCenterClampEnabled });
|
||||
Logger.Stub?.PrintStub(LogClass.ServiceHid, new { appletResourceUserId, _npadAnalogStickCenterClampEnabled });
|
||||
|
||||
return ResultCode.Success;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue