service: hid: Signal event on AcquireNpadStyleSetUpdateEventHandle

This commit is contained in:
Narr the Reg 2022-03-31 10:49:11 -06:00
parent 5158cdb308
commit dc79dfb335

View file

@ -767,6 +767,9 @@ namespace Ryujinx.HLE.HOS.Services.Hid
throw new InvalidOperationException("Out of handles!"); 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); context.Response.HandleDesc = IpcHandleDesc.MakeCopy(handle);
Logger.Stub?.PrintStub(LogClass.ServiceHid, new { appletResourceUserId, npadId, npadStyleSet }); Logger.Stub?.PrintStub(LogClass.ServiceHid, new { appletResourceUserId, npadId, npadStyleSet });