mirror of
https://github.com/switchbrew/switch-examples.git
synced 2025-06-21 21:32:40 +02:00
Updated fs/save for latest libnx.
This commit is contained in:
parent
86a1af14fc
commit
147a5e2fc4
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user