| 537 | } |
| 538 | |
| 539 | Result FSUSER_GetSdmcCid(u8* out, u32 length) |
| 540 | { |
| 541 | u32 *cmdbuf = getThreadCommandBuffer(); |
| 542 | |
| 543 | cmdbuf[0] = IPC_MakeHeader(0x819,1,2); // 0x8190042 |
| 544 | cmdbuf[1] = length; |
| 545 | cmdbuf[2] = IPC_Desc_Buffer(length, IPC_BUFFER_W); |
| 546 | cmdbuf[3] = (u32) out; |
| 547 | |
| 548 | Result ret = 0; |
| 549 | if(R_FAILED(ret = svcSendSyncRequest(fsSession()))) return ret; |
| 550 | |
| 551 | return cmdbuf[1]; |
| 552 | } |
| 553 | |
| 554 | Result FSUSER_GetNandCid(u8* out, u32 length) |
| 555 | { |
nothing calls this directly
no test coverage detected