mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +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;
|
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))
|
if (R_SUCCEEDED(rc))
|
||||||
eventLoadRemote(out_event, event, true);
|
eventLoadRemote(out_event, event, true);
|
||||||
return rc;
|
return rc;
|
||||||
|
Loading…
Reference in New Issue
Block a user