This commit is contained in:
Tsubasa0504 2024-04-19 00:16:16 +09:00 committed by GitHub
parent 451690ec21
commit f84d94c552
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1111,6 +1111,7 @@ 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;
long appletResourceUserId = context.RequestData.ReadInt64();