NS services: Difference between revisions

Line 120: Line 120:
| 54 || EnableApplicationAutoDelete
| 54 || EnableApplicationAutoDelete
|-
|-
| 55 || GetApplicationDesiredLanguage
| 55 || [[#GetApplicationDesiredLanguage]]
|-
|-
| 56 || SetApplicationTerminateResult
| 56 || SetApplicationTerminateResult
Line 294: Line 294:


Returns the u64 from [[Content_Manager_services#IContentStorage]] cmd23.
Returns the u64 from [[Content_Manager_services#IContentStorage]] cmd23.
== GetApplicationDesiredLanguage ==
Takes an input u8 language-bitmask, returns an output u8 [[control.nacp]] langentry index.
User-processes generate the language-bitmask with the following for all 16 lang-entries: <code>if(<either string in langentry[i] is non-empty>)bitmask |= 1<<i</code>


== ConvertLanguageCodeToApplicationLanguage ==
== ConvertLanguageCodeToApplicationLanguage ==