You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fs/save/source/main.c
+3-8Lines changed: 3 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -48,14 +48,13 @@ int main(int argc, char **argv)
48
48
49
49
FsFileSystemtmpfs;
50
50
u128userID=0;
51
-
boolaccount_selected=0;
52
51
u64titleID=0x01007ef00011e000;//titleID of the save to mount, in this case BOTW.
53
52
54
53
consoleInit(NULL);
55
54
56
55
//Get the userID for save mounting. To mount common savedata, use FS_SAVEDATA_USERID_COMMONSAVE.
57
56
58
-
//Try to find savedata to use with get_save() first, otherwise fallback to the above hard-coded TID + the userID from accountGetActiveUser(). Note that you can use either method.
57
+
//Try to find savedata to use with get_save() first, otherwise fallback to the above hard-coded TID + the userID from accountGetPreselectedUser(). Note that you can use either method.
59
58
//See the account example for getting account info for an userID.
60
59
//See also the app_controldata example for getting info for a titleID.
61
60
if (R_FAILED(get_save(&titleID, &userID))) {
@@ -65,15 +64,11 @@ int main(int argc, char **argv)
0 commit comments