Updated the nfc example for latest libnx.

This commit is contained in:
yellows8 2020-04-07 12:45:06 -04:00
parent bbd8727804
commit c68fc5e826
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43

View File

@ -122,9 +122,8 @@ Result process_amiibo(u32 app_id) {
app_area_size = common_info.application_area_size;
}
u32 npad_id = 0;
if (R_SUCCEEDED(rc)) {
rc = nfpOpenApplicationArea(&handle, app_id, &npad_id);
rc = nfpOpenApplicationArea(&handle, app_id);
if (rc == 0x10073) // 2115-0128
printf("This tag contains no application data.\n");