Difference between revisions of "NFCM:SetRegisterInfo"

From 3dbrew
Jump to navigation Jump to search
m
 
(6 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
|-
 
|-
 
| 1-41
 
| 1-41
| 0xA4-byte [[Amiibo]] settings, see [[NFC:GetAmiiboSettings|here]].
+
| [[NFC_Services#RegisterInfo|RegisterInfo]] truncated to 0xA4 bytes
 
|}
 
|}
  
Line 19: Line 19:
 
|-
 
|-
 
| 0
 
| 0
| Header code
+
| Header code [0x04040040]
 
|-
 
|-
 
| 1
 
| 1
Line 26: Line 26:
  
 
=Description=
 
=Description=
This writes the input settings to the Amiibo data stored in memory, this is the writing version of [[NFC:GetAmiiboSettings]]. The structure seems to be the same as the one [[NFC:GetAmiiboSettings|here]], except for the different struct sizes and that the two u32s at offset 0x74/0x78 are set to zero.
+
This writes the provided [[NFC_Services#RegisterInfo|RegisterInfo]] to the Amiibo data stored in memory, this is the writing version of [[NFC:GetRegisterInfo|GetRegisterInfo]] except with a truncated structure. Note that the font region and creation date seem to be ignored.

Latest revision as of 09:10, 8 March 2023

Request[edit]

Index Word Description
0 Header code [0x04040A40]
1-41 RegisterInfo truncated to 0xA4 bytes

Response[edit]

Index Word Description
0 Header code [0x04040040]
1 Result code

Description[edit]

This writes the provided RegisterInfo to the Amiibo data stored in memory, this is the writing version of GetRegisterInfo except with a truncated structure. Note that the font region and creation date seem to be ignored.