| 32 | } |
| 33 | |
| 34 | Result CFGU_SecureInfoGetRegion(u8* region) |
| 35 | { |
| 36 | Result ret = 0; |
| 37 | u32 *cmdbuf = getThreadCommandBuffer(); |
| 38 | |
| 39 | cmdbuf[0] = IPC_MakeHeader(0x2,0,0); // 0x20000 |
| 40 | |
| 41 | if(R_FAILED(ret = svcSendSyncRequest(cfguHandle)))return ret; |
| 42 | |
| 43 | *region = (u8)cmdbuf[2] & 0xFF; |
| 44 | |
| 45 | return (Result)cmdbuf[1]; |
| 46 | } |
| 47 | |
| 48 | Result CFGU_GenHashConsoleUnique(u32 appIDSalt, u64* hash) |
| 49 | { |
no test coverage detected