Settings services: Difference between revisions

No edit summary
No edit summary
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 a [[#RegionCode]].
| 4 || GetRegionCode || No input, returns a [[#RegionCode_2|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 799: Line 799:


== SetRegionCode ==
== SetRegionCode ==
Takes an input s32 [[#RegionCode]], no output.
Takes an input s32 [[#RegionCode_2|RegionCode]], no output.


== GetChineseTraditionalInputMethod ==
== GetChineseTraditionalInputMethod ==
Line 1,267: Line 1,267:
|-
|-
| 6 || Taiwan
| 6 || Taiwan
|}
= RegionCode =
This is "nn::settings::system::RegionCode".
{| class="wikitable" border="1"
|-
! Value
! Description
|-
| 0 || Japan
|-
| 1 || Usa
|-
| 2 || Europe
|-
| 3 || Australia
|-
| 4 || HongKongTaiwanKorea
|-
| 5 || China
|}
|}


Line 1,515: Line 1,536:
| 0x0 || 0x4 || Version
| 0x0 || 0x4 || Version
|-
|-
| 0x4 || 0x4 || RegionCode (0 = Japan, 1 = The Americas, 2 = Europe, 3 = Australia/New Zealand, 4 = Hong Kong/Taiwan/Korea, 5 = China)
| 0x4 || 0x4 || [[#RegionCode_2|RegionCode]]
|-
|-
| 0x8 || 0x4 || [[#SteadyClockSourceId|ClockType]]
| 0x8 || 0x4 || [[#SteadyClockSourceId|ClockType]]