Updated fs/save for latest libnx.

This commit is contained in:
yellows8 2019-11-13 14:49:20 -05:00
parent 86a1af14fc
commit 147a5e2fc4
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43

View File

@ -12,7 +12,7 @@ Result get_save(u64 *application_id, AccountUid *uid) {
size_t total_entries=0; size_t total_entries=0;
FsSaveDataInfo info; FsSaveDataInfo info;
rc = fsOpenSaveDataInfoReader(&reader, FsSaveDataSpaceId_NandUser);//See libnx fs.h. rc = fsOpenSaveDataInfoReader(&reader, FsSaveDataSpaceId_User);//See libnx fs.h.
if (R_FAILED(rc)) { if (R_FAILED(rc)) {
printf("fsOpenSaveDataInfoReader() failed: 0x%x\n", rc); printf("fsOpenSaveDataInfoReader() failed: 0x%x\n", rc);
return rc; return rc;