mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Fix event handle retrieval in spl
This commit is contained in:
parent
4afec4016d
commit
022887ac2d
@ -286,7 +286,10 @@ Result splCryptoGetSecurityEngineEvent(Event *out_event) {
|
||||
}
|
||||
|
||||
Handle event = INVALID_HANDLE;
|
||||
Result rc = serviceDispatch(_splGetCryptoSrv(), 23);
|
||||
Result rc = serviceDispatch(_splGetCryptoSrv(), 23,
|
||||
.out_handle_attrs = { SfOutHandleAttr_HipcCopy },
|
||||
.out_handles = &event,
|
||||
);
|
||||
if (R_SUCCEEDED(rc))
|
||||
eventLoadRemote(out_event, event, true);
|
||||
return rc;
|
||||
|
Loading…
Reference in New Issue
Block a user