File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
applet/app-playstats/source Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ int main(int argc, char **argv)
21
21
memset (& userdata , 0 , sizeof (userdata ));
22
22
memset (& profilebase , 0 , sizeof (profilebase ));
23
23
24
- rc = accountInitialize ();
24
+ rc = accountInitialize (AccountServiceType_Application );
25
25
if (R_FAILED (rc )) {
26
26
printf ("accountInitialize() failed: 0x%x\n" , rc );
27
27
}
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ int main(int argc, char* argv[])
32
32
33
33
// Only needed when using the cmds which require the Uid.
34
34
AccountUid preselected_uid = {0 };
35
- rc = accountInitialize ();
35
+ rc = accountInitialize (AccountServiceType_Application );
36
36
if (R_SUCCEEDED (rc )) {
37
37
rc = accountGetPreselectedUser (& preselected_uid );
38
38
accountExit ();
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ int main(int argc, char **argv)
55
55
//See the account example for getting account info for an userID.
56
56
//See also the app_controldata example for getting info for an application_id.
57
57
if (R_FAILED (get_save (& application_id , & uid ))) {
58
- rc = accountInitialize ();
58
+ rc = accountInitialize (AccountServiceType_Application );
59
59
if (R_FAILED (rc )) {
60
60
printf ("accountInitialize() failed: 0x%x\n" , rc );
61
61
}
Original file line number Diff line number Diff line change @@ -187,11 +187,11 @@ int main(int argc, char* argv[])
187
187
consoleUpdate (NULL );
188
188
189
189
// Initialize the nfp:* service.
190
- rc = nfpInitialize ();
190
+ rc = nfpInitialize (NfpServiceType_User );
191
191
192
192
// Check if NFC is enabled. If not, wait until it is.
193
193
// Note that various official games don't use nfc*().
194
- if (R_SUCCEEDED (rc )) rc = nfcInitialize ();
194
+ if (R_SUCCEEDED (rc )) rc = nfcInitialize (NfcServiceType_User );
195
195
if (R_SUCCEEDED (rc )) {
196
196
bool nfc_enabled = false;
197
197
rc = nfcIsNfcEnabled (& nfc_enabled );
You can’t perform that action at this time.
0 commit comments