From c68fc5e826d3ec569f31728eaa0b672678b60c04 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Tue, 7 Apr 2020 12:45:06 -0400 Subject: [PATCH] Updated the nfc example for latest libnx. --- nfc/source/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nfc/source/main.c b/nfc/source/main.c index 2a78245..66d4879 100644 --- a/nfc/source/main.c +++ b/nfc/source/main.c @@ -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");