| 928 | } |
| 929 | |
| 930 | Result AM_GetCiaDependencies(u64 *dependencies, Handle fileHandle) |
| 931 | { |
| 932 | Result ret = 0; |
| 933 | u32 *cmdbuf = getThreadCommandBuffer(); |
| 934 | |
| 935 | cmdbuf[0] = IPC_MakeHeader(0x40A,0,2); // 0x040A0002 |
| 936 | cmdbuf[1] = IPC_Desc_SharedHandles(1); |
| 937 | cmdbuf[2] = fileHandle; |
| 938 | |
| 939 | u32 *staticbuf = getThreadStaticBuffers(); |
| 940 | |
| 941 | staticbuf[0] = IPC_Desc_StaticBuffer(0x300, 0); |
| 942 | staticbuf[1] = (u32)dependencies; |
| 943 | |
| 944 | if(R_FAILED(ret = svcSendSyncRequest(amHandle))) return ret; |
| 945 | |
| 946 | return (Result)cmdbuf[1]; |
| 947 | } |
| 948 | |
| 949 | Result AM_GetCiaMetaOffset(u64 *metaOffset, Handle fileHandle) |
| 950 | { |
nothing calls this directly
no test coverage detected