MCPcopy Create free account
hub / github.com/devkitPro/libctru / NDMU_UnlockState

Function NDMU_UnlockState

libctru/source/services/ndm.c:90–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90Result NDMU_UnlockState(void)
91{
92 u32* cmdbuf=getThreadCommandBuffer();
93
94 cmdbuf[0]=IPC_MakeHeader(0x5,0,2); // 0x50002
95 cmdbuf[1]=IPC_Desc_CurProcessId();
96
97 Result ret=0;
98 if(R_FAILED(ret=svcSendSyncRequest(ndmuHandle)))return ret;
99
100 return (Result)cmdbuf[1];
101}
102
103Result NDMU_SuspendDaemons(ndmDaemonMask mask)
104{

Callers

nothing calls this directly

Calls 3

getThreadCommandBufferFunction · 0.85
IPC_MakeHeaderFunction · 0.85
IPC_Desc_CurProcessIdFunction · 0.85

Tested by

no test coverage detected