| 45 | } |
| 46 | |
| 47 | Result ACU_CreateDefaultConfig(acuConfig* config) |
| 48 | { |
| 49 | Result ret=0; |
| 50 | u32 *cmdbuf = getThreadCommandBuffer(); |
| 51 | u32 *staticbufs = getThreadStaticBuffers(); |
| 52 | |
| 53 | cmdbuf[0] = IPC_MakeHeader(0x1,0,0); // 0x10000 |
| 54 | staticbufs[0] = IPC_Desc_StaticBuffer(0x200, 0); |
| 55 | staticbufs[1] = (u32)config; |
| 56 | |
| 57 | if(R_FAILED(ret = svcSendSyncRequest(acHandle))) return ret; |
| 58 | |
| 59 | return (Result)cmdbuf[1]; |
| 60 | } |
| 61 | |
| 62 | Result ACU_ConnectAsync(const acuConfig* config, Handle connectionHandle) |
| 63 | { |
nothing calls this directly
no test coverage detected