Changes

Jump to navigation Jump to search
396 bytes added ,  05:09, 30 November 2018
Document the available region codes based off how they're used from within the erpt module. These are the same values, given erpt calls into the settings module to retrieve the region code and uses it to retrieve a string representation of the region
Line 14: Line 14:  
| 3 || GetAvailableLanguageCodeCount || No input, returns an output s32.
 
| 3 || GetAvailableLanguageCodeCount || No input, returns an output s32.
 
|-
 
|-
| 4 || GetRegionCode || No input, returns an output s32.
+
| 4 || GetRegionCode || No input, returns an [[#RegionCode]].
 
|-
 
|-
 
| 5 || [4.0.0+] GetAvailableLanguageCodes2 || Takes a type-0x6 buffer containing the [[#LanguageCode]] output array, returns an output s32.
 
| 5 || [4.0.0+] GetAvailableLanguageCodes2 || Takes a type-0x6 buffer containing the [[#LanguageCode]] output array, returns an output s32.
Line 79: Line 79:  
|-
 
|-
 
| [4.0.0+] 16 || zh-Hant || "TraditionalChinese"
 
| [4.0.0+] 16 || zh-Hant || "TraditionalChinese"
 +
|}
 +
 +
== RegionCode ==
 +
 +
A region code is a signed 32-bit value representing a particular region. Currently the available regions defined by the system are as follows:
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Value || Region
 +
|-
 +
| 0 || Japan
 +
|-
 +
| 1 || USA
 +
|-
 +
| 2 || Europe
 +
|-
 +
| 3 || Australia
 +
|-
 +
| 4 || China
 +
|-
 +
| 5 || Korea
 +
|-
 +
| 6 || Taiwan
 +
|-
 +
| Any other value || Considered an unknown region
 +
|-
 
|}
 
|}
  
92

edits

Navigation menu