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

Function nfcUpdateStoredAmiiboData

libctru/source/services/nfc.c:245–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245Result nfcUpdateStoredAmiiboData(void)
246{
247 Result ret=0;
248 u32* cmdbuf=getThreadCommandBuffer();
249
250 cmdbuf[0]=IPC_MakeHeader(0x9,0,2); // 0x90002
251 cmdbuf[1]=IPC_Desc_CurProcessId();
252
253 if(R_FAILED(ret=svcSendSyncRequest(nfcHandle)))return ret;
254 ret = cmdbuf[1];
255
256 return ret;
257}
258
259Result nfcGetTagState(NFC_TagState *state)
260{

Callers

nothing calls this directly

Calls 3

getThreadCommandBufferFunction · 0.85
IPC_MakeHeaderFunction · 0.85
IPC_Desc_CurProcessIdFunction · 0.85

Tested by

no test coverage detected