Explorar o código

service: hid: Signal event on AcquireNpadStyleSetUpdateEventHandle (#3247)

Narr the Reg %!s(int64=4) %!d(string=hai) anos
pai
achega
55ee261363
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs

+ 3 - 0
Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs

@@ -767,6 +767,9 @@ namespace Ryujinx.HLE.HOS.Services.Hid
                 throw new InvalidOperationException("Out of handles!");
             }
 
+            // Games expect this event to be signaled after calling this function
+            evnt.ReadableEvent.Signal();
+
             context.Response.HandleDesc = IpcHandleDesc.MakeCopy(handle);
 
             Logger.Stub?.PrintStub(LogClass.ServiceHid, new { appletResourceUserId, npadId, npadStyleSet });