FS:GetCardType: Difference between revisions
		
		
		
		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  | | 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 19:06, 29 June 2015
Request
| Index Word | Description | 
|---|---|
| 0 | Header code [0x08130000] | 
Response
| Index Word | Description | 
|---|---|
| 0 | Header code | 
| 1 | Result code | 
| 2 | u8 CTR card = 0, TWL card = 1 | 
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.