We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 950e99a commit b55cb17Copy full SHA for b55cb17
1 file changed
account/source/main.c
@@ -37,7 +37,17 @@ int main(int argc, char **argv)
37
rc = accountGetPreselectedUser(&userID);
38
39
if (R_FAILED(rc)) {
40
- printf("accountGetPreselectedUser() failed: 0x%x\n", rc);
+ printf("accountGetPreselectedUser() failed: 0x%x, using pselShowUserSelector..\n", rc);
41
+
42
+ /* Create player selection UI settings */
43
+ PselUserSelectionSettings settings;
44
+ memset(&settings, 0, sizeof(settings));
45
46
+ rc = pselShowUserSelector(&userID, &settings);
47
48
+ if (R_FAILED(rc)) {
49
+ printf("pselShowUserSelector() failed: 0x%x\n", rc);
50
+ }
51
}
52
53
if (R_SUCCEEDED(rc)) {
0 commit comments