Explorar o código

Set _vibrationPermitted to True by default (#2985)

Co-authored-by: SpookyBee123 <82302189+SpookyBee123@users.noreply.github.com>
Mary %!s(int64=4) %!d(string=hai) anos
pai
achega
4910b214f5
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs

+ 2 - 2
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;
         }