From 8110da58b1ec6db310067fafb519c1435522d08e Mon Sep 17 00:00:00 2001 From: Slimfr01 Date: Fri, 20 Jan 2017 01:33:11 +0100 Subject: [PATCH] change members name Change name of members of NFC_Amiiboconfig after some tests to identify amiibos. --- libctru/include/3ds/services/nfc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libctru/include/3ds/services/nfc.h b/libctru/include/3ds/services/nfc.h index 3acb030..a81e15a 100644 --- a/libctru/include/3ds/services/nfc.h +++ b/libctru/include/3ds/services/nfc.h @@ -71,10 +71,10 @@ typedef struct { u8 lastwritedate_month; u8 lastwritedate_day; u16 write_counter; - u16 val_x6; - u8 val_x8; - u8 val_x9; - u16 val_xa; + u8 characterID[3]; + u8 serie;///ID of the serie + u8 amiiboID;///ID shared by all exact same amiibo. Some amiibo are only distinguished by this one like regular SMB Series Mario and the gold one + u16 type;/// Type of amiibo 0 = figure, 1 = card, 2 = Plush u8 val_xc; u8 pagex4_byte3;/// "This is byte[3] from NFC page[0x4]." u8 appdata_size;/// "NFC module writes hard-coded u8 value 0xD8 here. This is the size of the Amiibo AppData, apps can use this with the AppData R/W commands. ..."