From 96d25dde93debf13799310a4cdf5cc128dec23ee Mon Sep 17 00:00:00 2001 From: Slimfr01 Date: Fri, 20 Jan 2017 05:30:45 +0100 Subject: [PATCH] Update nfc.h Fix same structure errors --- libctru/include/3ds/services/nfc.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libctru/include/3ds/services/nfc.h b/libctru/include/3ds/services/nfc.h index a81e15a..5ed3103 100644 --- a/libctru/include/3ds/services/nfc.h +++ b/libctru/include/3ds/services/nfc.h @@ -72,12 +72,11 @@ typedef struct { u8 lastwritedate_day; u16 write_counter; 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 series;///ID of the series + u16 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 + u8 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. ..." + u16 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. ..." u8 zeros[0x31];/// "Unused / reserved: this is cleared by NFC module but never written after that." } NFC_AmiiboConfig;