From 4910b214f5c3d68dc112b4f6cec75bcdb4edf82b Mon Sep 17 00:00:00 2001 From: Mary Date: Sun, 23 Jan 2022 12:24:55 +0100 Subject: [PATCH] Set _vibrationPermitted to True by default (#2985) Co-authored-by: SpookyBee123 <82302189+SpookyBee123@users.noreply.github.com> --- Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs b/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs index ce7dddd34b..2fdb94e40d 100644 --- a/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs +++ b/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs @@ -55,6 +55,8 @@ namespace Ryujinx.HLE.HOS.Services.Hid // TODO: signal event at right place _xpadIdEvent.ReadableEvent.Signal(); + + _vibrationPermitted = true; } [CommandHipc(0)] @@ -1141,8 +1143,6 @@ namespace Ryujinx.HLE.HOS.Services.Hid { context.ResponseData.Write(_vibrationPermitted); - Logger.Stub?.PrintStub(LogClass.ServiceHid, new { _vibrationPermitted }); - return ResultCode.Success; }