FS:GetCardType

From 3dbrew
Revision as of 19:06, 29 June 2015 by Profi200 (talk | contribs) (→‎Response)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x08130000]

Response[edit]

Index Word Description
0 Header code
1 Result code
2 u8 CTR card = 0, TWL card = 1

Description[edit]

This returns the type of the inserted cartridge. If no cartridge is inserted it seems to return the type of the previously inserted cartridge.