MCPcopy Create free account
hub / github.com/devkitPro/libctru / APT_CheckNew3DS_System

Function APT_CheckNew3DS_System

libctru/source/services/apt.c:1371–1381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1369}
1370
1371static Result APT_CheckNew3DS_System(bool* out)
1372{
1373 u32 cmdbuf[16];
1374 cmdbuf[0]=IPC_MakeHeader(0x102,0,0); // 0x1020000
1375
1376 Result ret = aptSendCommand(cmdbuf);
1377 if (R_SUCCEEDED(ret))
1378 *out = cmdbuf[2] & 0xFF;
1379
1380 return ret;
1381}
1382
1383Result APT_CheckNew3DS(bool* out)
1384{

Callers 1

APT_CheckNew3DSFunction · 0.85

Calls 2

IPC_MakeHeaderFunction · 0.85
aptSendCommandFunction · 0.85

Tested by

no test coverage detected