0
0
Fork 0

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

This commit is contained in:
Narr the Reg 2022-04-07 13:43:14 -05:00 committed by GitHub
parent 4e3a34412e
commit 55ee261363
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 });