| 209 | } |
| 210 | |
| 211 | Result DSP_UnloadComponent(void) |
| 212 | { |
| 213 | if (!dspComponentLoaded) |
| 214 | return 0; |
| 215 | |
| 216 | dspComponentLoaded = false; |
| 217 | |
| 218 | Result ret = 0; |
| 219 | u32* cmdbuf = getThreadCommandBuffer(); |
| 220 | cmdbuf[0] = IPC_MakeHeader(0x12,0,0); |
| 221 | if (R_FAILED(ret = svcSendSyncRequest(dspHandle))) return ret; |
| 222 | return cmdbuf[1]; |
| 223 | } |
| 224 | |
| 225 | Result DSP_RegisterInterruptEvents(Handle handle, u32 interrupt, u32 channel) |
| 226 | { |
no test coverage detected