| 80 | } |
| 81 | |
| 82 | Result srvRegisterClient(void) |
| 83 | { |
| 84 | Result rc = 0; |
| 85 | u32* cmdbuf = getThreadCommandBuffer(); |
| 86 | |
| 87 | cmdbuf[0] = IPC_MakeHeader(0x1,0,2); // 0x10002 |
| 88 | cmdbuf[1] = IPC_Desc_CurProcessId(); |
| 89 | |
| 90 | if(R_FAILED(rc = svcSendSyncRequest(srvHandle)))return rc; |
| 91 | |
| 92 | return cmdbuf[1]; |
| 93 | } |
| 94 | |
| 95 | Result srvEnableNotification(Handle* semaphoreOut) |
| 96 | { |
no test coverage detected