mirror of
https://github.com/switchbrew/switch-examples.git
synced 2025-06-21 05:12:40 +02:00
Updated save example for latest libnx.
This commit is contained in:
parent
25d9880c3b
commit
f133405219
@ -9,7 +9,7 @@
|
|||||||
Result get_save(u64 *application_id, AccountUid *uid) {
|
Result get_save(u64 *application_id, AccountUid *uid) {
|
||||||
Result rc=0;
|
Result rc=0;
|
||||||
FsSaveDataInfoReader reader;
|
FsSaveDataInfoReader reader;
|
||||||
size_t total_entries=0;
|
s64 total_entries=0;
|
||||||
FsSaveDataInfo info;
|
FsSaveDataInfo info;
|
||||||
|
|
||||||
rc = fsOpenSaveDataInfoReader(&reader, FsSaveDataSpaceId_User);//See libnx fs.h.
|
rc = fsOpenSaveDataInfoReader(&reader, FsSaveDataSpaceId_User);//See libnx fs.h.
|
||||||
|
Loading…
Reference in New Issue
Block a user