| 133 | } |
| 134 | |
| 135 | Result ACU_SetAllowApType(acuConfig* config, u8 type) |
| 136 | { |
| 137 | Result ret=0; |
| 138 | u32 *cmdbuf = getThreadCommandBuffer(); |
| 139 | u32 *staticbufs = getThreadStaticBuffers(); |
| 140 | |
| 141 | cmdbuf[0] = IPC_MakeHeader(0x22,1,2); // 0x220042 |
| 142 | cmdbuf[1] = type; |
| 143 | cmdbuf[2] = IPC_Desc_StaticBuffer(0x200, 0); |
| 144 | cmdbuf[3] = (u32)config; |
| 145 | staticbufs[0] = IPC_Desc_StaticBuffer(0x200, 0); |
| 146 | staticbufs[1] = (u32)config; |
| 147 | |
| 148 | if(R_FAILED(ret = svcSendSyncRequest(acHandle))) return ret; |
| 149 | |
| 150 | return (Result)cmdbuf[1]; |
| 151 | } |
| 152 | |
| 153 | Result ACU_SetNetworkArea(acuConfig* config, u8 area) |
| 154 | { |
nothing calls this directly
no test coverage detected