mirror of
https://github.com/switchbrew/switch-examples.git
synced 2025-08-06 16:39:22 +02:00
Updated the nfc example for latest libnx.
This commit is contained in:
parent
bbd8727804
commit
c68fc5e826
@ -122,9 +122,8 @@ Result process_amiibo(u32 app_id) {
|
|||||||
app_area_size = common_info.application_area_size;
|
app_area_size = common_info.application_area_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 npad_id = 0;
|
|
||||||
if (R_SUCCEEDED(rc)) {
|
if (R_SUCCEEDED(rc)) {
|
||||||
rc = nfpOpenApplicationArea(&handle, app_id, &npad_id);
|
rc = nfpOpenApplicationArea(&handle, app_id);
|
||||||
|
|
||||||
if (rc == 0x10073) // 2115-0128
|
if (rc == 0x10073) // 2115-0128
|
||||||
printf("This tag contains no application data.\n");
|
printf("This tag contains no application data.\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user