Profile Selector: Difference between revisions

No edit summary
No edit summary
Line 36: Line 36:
| 0x92 || 0x1 ||
| 0x92 || 0x1 ||
|-
|-
| 0x93 || 0x1 || u8 isPermitted.
| 0x93 || 0x1 || u8 isPermitted. ShowUserSelector* sets this to the output bool from <code>nn::account::IsUserRegistrationRequestPermitted</code>.
|-
|-
| 0x94 || 0x1 || u8 showSkipButton. This is copied from [[#UserSelectionSettings]].
| 0x94 || 0x1 || u8 showSkipButton. This is copied from [[#UserSelectionSettings]].
Line 42: Line 42:
| 0x95 || 0x1 || u8 additionalSelect. This is copied from [[#UserSelectionSettings]].
| 0x95 || 0x1 || u8 additionalSelect. This is copied from [[#UserSelectionSettings]].
|-
|-
| 0x96 || 0x1 || This is copied from [[#UserSelectionSettingsForSystemService]].
| 0x96 || 0x1 || [2.0.0+] This is copied from [[#UserSelectionSettingsForSystemService]]+0x4. ShowUserSelectorForLauncher/ShowUserSelector sets this to value 1.
|-
|-
| 0x97 || 0x1 ||  
| 0x97 || 0x1 || [6.0.0+] Set to [[#UserSelectionSettings]] isUnqualifiedUserSelectable ^ 1.
|-
|-
| 0x98 || 0x4 || This is copied from [[#UserSelectionSettingsForSystemService]].
| 0x98 || 0x4 || [2.0.0+] This is copied from the 4-bytes at [[#UserSelectionSettingsForSystemService]]+0x0.
|-
|-
| 0x9C || 0x4 ||  
| 0x9C || 0x4 ||  
Line 54: Line 54:
Setting the first byte to 1 will make the applet display in order to create a new user.
Setting the first byte to 1 will make the applet display in order to create a new user.
"starter" sets the first byte to 5 in order to display initial user setup.
"starter" sets the first byte to 5 in order to display initial user setup.
[2.0.0+]: sdknso ShowUserSelectorForSystem now has an additional input param UserSelectionSettingsForSystemService: u8 +4 is copied to UiSettings+0x96, and u32 +0 is copied to UiSettings+0x98. sdknso ShowUserSelectorForLauncher/ShowUserSelector now sets u8 UiSettings+0x96 to value 1.


== UiMode ==
== UiMode ==
Line 108: Line 106:
| 0x83 || 0x1 || u8 additionalSelect
| 0x83 || 0x1 || u8 additionalSelect
|-
|-
| 0x84 || 0x1 || u8 isUnqualifiedUserSelectable
| 0x84 || 0x1 || [6.0.0+] u8 isUnqualifiedUserSelectable
|}
|}


== UserSelectionSettingsForSystemService ==
== UserSelectionSettingsForSystemService ==
This is "nn::account::UserSelectionSettingsForSystemService".
This is "nn::account::UserSelectionSettingsForSystemService". This was added as an additional input param with sdknso [2.0.0+].


{| class="wikitable" border="1"
{| class="wikitable" border="1"