| 453 | } |
| 454 | |
| 455 | Result FSUSER_GetCardType(FS_CardType* type) |
| 456 | { |
| 457 | u32 *cmdbuf = getThreadCommandBuffer(); |
| 458 | |
| 459 | cmdbuf[0] = IPC_MakeHeader(0x813,0,0); // 0x8130000 |
| 460 | |
| 461 | Result ret = 0; |
| 462 | if(R_FAILED(ret = svcSendSyncRequest(fsSession()))) return ret; |
| 463 | |
| 464 | if(type) *type = cmdbuf[2] & 0xFF; |
| 465 | |
| 466 | return cmdbuf[1]; |
| 467 | } |
| 468 | |
| 469 | Result FSUSER_GetSdmcArchiveResource(FS_ArchiveResource* archiveResource) |
| 470 | { |
nothing calls this directly
no test coverage detected