| 48 | } |
| 49 | |
| 50 | Result NDMU_LeaveExclusiveState(void) |
| 51 | { |
| 52 | u32* cmdbuf=getThreadCommandBuffer(); |
| 53 | |
| 54 | cmdbuf[0]=IPC_MakeHeader(0x2,0,2); // 0x20002 |
| 55 | cmdbuf[1]=IPC_Desc_CurProcessId(); |
| 56 | |
| 57 | Result ret=0; |
| 58 | if(R_FAILED(ret=svcSendSyncRequest(ndmuHandle)))return ret; |
| 59 | |
| 60 | return (Result)cmdbuf[1]; |
| 61 | } |
| 62 | |
| 63 | Result NDMU_GetExclusiveState(ndmExclusiveState *state) |
| 64 | { |
no test coverage detected