Difference between revisions of "FS:GetCardType"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x08130000] |} =Response= {| class="wikitable" border="1" |- ! Index Word ! Des...")
 
 
Line 22: Line 22:
 
|-
 
|-
 
| 2
 
| 2
| CTR card: 0x100, TWL card: 0x101
+
| u8 CTR card = 0, TWL card = 1
 
|}
 
|}
 
  
 
=Description=
 
=Description=
 
This returns the type of the inserted cartridge. If no cartridge is inserted it seems to return the type of the previously inserted cartridge.
 
This returns the type of the inserted cartridge. If no cartridge is inserted it seems to return the type of the previously inserted cartridge.

Latest revision as of 20:06, 29 June 2015

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.