FSPXI:GetSdmcCid: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x001E0042] |- | 1 | Output 0x10-byte CID pointer |- | 2 | Always 0x00001004, for..."
 
Piepie62 (talk | contribs)
Fix FSPXI:GetSdmcCid parameters
 
Line 9: Line 9:
|-
|-
| 1
| 1
| Output 0x10-byte CID pointer
| Output CID size (always 0x10)
|-
|-
| 2
| 2
| Always 0x00001004, for 0x10 size: (size<<8) <nowiki>|</nowiki> 4
| Always 0x00001004, for 0x10 size: (size<<8) <nowiki>|</nowiki> 4
|-
| 3
| Output 0x10-byte CID pointer
|}
|}



Latest revision as of 22:33, 29 April 2020

Request

Index Word Description
0 Header code [0x001E0042]
1 Output CID size (always 0x10)
2 Always 0x00001004, for 0x10 size: (size<<8) | 4
3 Output 0x10-byte CID pointer

Response

Index Word Description
0 Header code
1 Result code

Description

The CID retrieved by this is the same as the ID1 in the sdmc/Nintendo 3DS/<ID0>/<ID1> directory.