| 172 | } |
| 173 | |
| 174 | Result DSP_GetSemaphoreHandle(Handle* semaphore) |
| 175 | { |
| 176 | Result ret = 0; |
| 177 | u32* cmdbuf = getThreadCommandBuffer(); |
| 178 | cmdbuf[0] = IPC_MakeHeader(0x16,0,0); |
| 179 | if (R_FAILED(ret = svcSendSyncRequest(dspHandle))) return ret; |
| 180 | *semaphore = cmdbuf[3]; |
| 181 | return cmdbuf[1]; |
| 182 | } |
| 183 | |
| 184 | Result DSP_LoadComponent(const void* component, u32 size, u16 prog_mask, u16 data_mask, bool* is_loaded) |
| 185 | { |
no test coverage detected