use readuint32 instead

This commit is contained in:
Tsubasa0504 2024-04-15 07:15:43 +09:00 committed by GitHub
parent 16ef3e9c7b
commit 03481d547f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1111,7 +1111,7 @@ namespace Ryujinx.HLE.HOS.Services.Hid
// SetNpadUseAnalogStickUseCenterClamp(bool Enable, nn::applet::AppletResourceUserId)
public ResultCode SetNpadUseAnalogStickUseCenterClamp(ServiceCtx context)
{
_NpadAnalogStickCenterClampEnabled = context.RequestData.ReadBoolean();
_NpadAnalogStickCenterClampEnabled = context.RequestData.ReadUInt32();
long appletResourceUserId = context.RequestData.ReadInt64();
Logger.Stub?.PrintStub(LogClass.ServiceHid, new { appletResourceUserId, _NpadAnalogStickCenterClampEnabled });