Difference between revisions of "Cfg:GetCountryCodeString"

From 3dbrew
Jump to navigation Jump to search
Line 6: Line 6:
 
|-
 
|-
 
| 0
 
| 0
| Header code [0x00090080]
+
| Header code [0x00090040]
 
|-
 
|-
 
| 1
 
| 1
 
| u16 Country-Code ID (table index)
 
| u16 Country-Code ID (table index)
|-
 
| 2
 
| 2-character Country-Code string
 
 
|}
 
|}
  
Line 26: Line 23:
 
| 1
 
| 1
 
| Result code
 
| Result code
 +
|-
 +
| 2
 +
| 2-character Country-Code string
 
|}
 
|}
  
 
=Description=
 
=Description=
This writes the specified string into the entry[inputindex], for the Country-Code table. The input index must be <0xBB.
+
This returns the Country-Code string for the specified Country-Code ID(table-index). The input index must be <0xBB.

Revision as of 22:14, 2 August 2014

Request

Index Word Description
0 Header code [0x00090040]
1 u16 Country-Code ID (table index)

Response

Index Word Description
0 Header code
1 Result code
2 2-character Country-Code string

Description

This returns the Country-Code string for the specified Country-Code ID(table-index). The input index must be <0xBB.