wut  v1.7.0
Wii U Toolchain
save.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <wut.h>
4 #include <nn/acp/device.h>
5 #include <coreinit/filesystem.h>
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
11 typedef enum SAVEStatus
12 {
17 
20 
21 void
23 
25 SAVEInitSaveDir(uint8_t slotNo);
26 
29 
31 SAVEInitAccountSaveDir(uint8_t slotNo);
32 
33 void
35 
38 
41  FSCmdBlock *block,
42  uint8_t slotNo,
43  const char *path,
44  FSErrorFlag errorMask);
45 
48  FSCmdBlock *block,
49  uint8_t slotNo,
50  const char *path,
51  FSErrorFlag errorMask,
52  FSAsyncData *asyncData);
53 
59  FSCmdBlock *block,
60  uint8_t slotNo,
61  const char *path,
62  FSMode mode,
63  FSErrorFlag errorMask);
64 
70  FSCmdBlock *block,
71  uint8_t slotNo,
72  const char *path,
73  FSMode mode,
74  FSErrorFlag errorMask,
75  FSAsyncData *asyncData);
76 
82  FSCmdBlock *block,
83  uint8_t slotNo,
84  const char *path,
85  FSMode mode,
86  FSErrorFlag errorMask);
87 
93  FSCmdBlock *block,
94  uint8_t slotNo,
95  const char *path,
96  FSMode mode,
97  FSErrorFlag errorMask,
98  FSAsyncData *asyncData);
99 
102  uint64_t *unk2);
103 
104 FSStatus
106  FSCmdBlock *block,
107  uint8_t slotNo,
108  FSErrorFlag errorMask);
109 
110 FSStatus
112  FSCmdBlock *block,
113  uint8_t slotNo,
114  FSErrorFlag errorMask,
115  FSAsyncData *asyncData);
116 
117 FSStatus
119  FSCmdBlock *block,
120  uint8_t slotNo,
121  uint64_t *outSize,
122  FSErrorFlag errorMask);
123 
124 FSStatus
126  FSCmdBlock *block,
127  uint8_t slotNo,
128  int64_t *outSize,
129  FSErrorFlag errorMask,
130  FSAsyncData *asyncData);
131 
134 
137  uint32_t bufferSize);
138 
139 /*
140  * /vol/storage_mlc01/usr/save/system/no_delete/%08x/%08x/%s
141  */
142 
145  const char *path,
146  char *buffer,
147  uint32_t bufferSize);
148 
149 /*
150  * /vol/storage_mlc01/sys/title/%08x/%08x/content/%s
151  */
153 SAVEGetSharedDataTitlePath(uint64_t titleID,
154  const char *path,
155  char *buffer,
156  uint32_t bufferSize);
157 
158 /*
159  * /vol/storage_mlc01/usr/save/%08x/%08x/user/common/%s
160  */
162 SAVEGetSharedSaveDataPath(uint64_t titleID,
163  const char *path,
164  char *buffer,
165  uint32_t bufferSize);
166 
167 FSStatus
169  FSCmdBlock *block,
170  uint8_t slotNo,
171  FSStat *stat,
172  FSErrorFlag errorMask);
173 
174 FSStatus
176  FSCmdBlock *block,
177  uint8_t slotNo,
178  FSStat *stat,
179  FSErrorFlag errorMask,
180  FSAsyncData *asyncData);
181 
182 FSStatus
184  FSCmdBlock *block,
185  uint64_t titleId,
186  const char *path,
187  FSStat *stat,
188  FSErrorFlag errorMask);
189 
190 FSStatus
192  FSCmdBlock *block,
193  uint64_t titleId,
194  const char *path,
195  FSStat *stat,
196  FSErrorFlag errorMask,
197  FSAsyncData *asyncData);
198 
199 /*
200  * Calls SAVEGetStatOtherApplicationAsync
201  * titleId: 0x0005000210000000L | (uniqueId << 0x8)
202  */
203 FSStatus
205  FSCmdBlock *block,
206  uint32_t uniqueId,
207  uint8_t slotNo,
208  const char *path,
209  FSStat *stat,
210  FSErrorFlag errorMask);
211 
212 /*
213  * Calls SAVEGetStatOtherApplicationAsync
214  * titleId: 0x0005000210000000L | (uniqueId << 0x8)
215  */
216 FSStatus
218  FSCmdBlock *block,
219  uint32_t uniqueId,
220  uint8_t slotNo,
221  const char *path,
222  FSStat *stat,
223  FSErrorFlag errorMask,
224  FSAsyncData *asyncData);
225 
226 /*
227  * Calls SAVEGetStatOtherApplicationAsync
228  * titleId: 0x0005000210000000L | (uniqueId << 0x8) | varation
229  */
230 FSStatus
232  FSCmdBlock *block,
233  uint32_t uniqueId,
234  uint8_t variation,
235  uint8_t slotNo,
236  const char *path,
237  FSStat *stat,
238  FSErrorFlag errorMask);
239 
240 /*
241  * Calls SAVEGetStatOtherApplicationAsync
242  * titleId: 0x0005000210000000L | (uniqueId << 0x8) | varation
243  */
244 FSStatus
246  FSCmdBlock *block,
247  uint32_t uniqueId,
248  uint8_t variation,
249  uint8_t slotNo,
250  const char *path,
251  FSStat *stat,
252  FSErrorFlag errorMask,
253  FSAsyncData *asyncData);
254 
255 /*
256  * Calls SAVEGetStatOtherApplicationAsync
257  * titleId: 0x0005000010000000L | (uniqueId << 0x8)
258  */
259 FSStatus
261  FSCmdBlock *block,
262  uint32_t uniqueId,
263  uint8_t slotNo,
264  const char *path,
265  FSStat *stat,
266  FSErrorFlag errorMask);
267 
268 /*
269  * Calls SAVEGetStatOtherApplicationAsync
270  * titleId: 0x0005000010000000L | (uniqueId << 0x8)
271  */
272 FSStatus
274  FSCmdBlock *block,
275  uint32_t uniqueId,
276  uint8_t slotNo,
277  const char *path,
278  FSStat *stat,
279  FSErrorFlag errorMask,
280  FSAsyncData *asyncData);
281 
282 /*
283  * Calls SAVEGetStatOtherApplicationAsync
284  * titleId: 0x0005000010000000L | (uniqueId << 0x8) | varation
285  */
286 FSStatus
288  FSCmdBlock *block,
289  uint32_t uniqueId,
290  uint8_t variation,
291  uint8_t slotNo,
292  const char *path,
293  FSStat *stat,
294  FSErrorFlag errorMask);
295 
296 /*
297  * Calls SAVEGetStatOtherApplicationAsync
298  * titleId: 0x0005000010000000L | (uniqueId << 0x8) | varation
299  */
300 FSStatus
302  FSCmdBlock *block,
303  uint32_t uniqueId,
304  uint8_t variation,
305  uint8_t slotNo,
306  const char *path,
307  FSStat *stat,
308  FSErrorFlag errorMask,
309  FSAsyncData *asyncData);
310 
324  const char *metaXmlPath,
325  uint8_t *metaXmlBuffer,
326  uint32_t metaXmlBufferSize,
327  const char *iconPath,
328  uint8_t *iconBuffer,
329  uint32_t iconBufferSize);
330 
331 FSStatus
333  FSCmdBlock *block,
334  uint8_t slotNo,
335  const char *path,
336  FSErrorFlag errorMask);
337 
338 FSStatus
340  FSCmdBlock *block,
341  uint8_t slotNo,
342  const char *path,
343  FSErrorFlag errorMask,
344  FSAsyncData *asyncData);
345 
346 FSStatus
348  FSCmdBlock *block,
349  uint8_t slotNo,
350  const char *path,
351  FSDirectoryHandle *handle,
352  FSErrorFlag errorMask);
353 
354 FSStatus
356  FSCmdBlock *block,
357  uint8_t slotNo,
358  const char *path,
359  FSDirectoryHandle *handle,
360  FSErrorFlag errorMask,
361  FSAsyncData *asyncData);
362 
363 FSStatus
365  FSCmdBlock *block,
366  uint64_t titleId,
367  uint8_t slotNo,
368  const char *path,
369  FSDirectoryHandle *handle,
370  FSErrorFlag errorMask);
371 
372 FSStatus
374  FSCmdBlock *block,
375  uint64_t titleId,
376  uint8_t slotNo,
377  const char *path,
378  FSDirectoryHandle *handle,
379  FSErrorFlag errorMask);
380 
381 /*
382  * Calls SAVEOpenDirOtherApplication
383  * titleId: 0x0005000210000000L | (uniqueId << 0x8)
384  */
385 FSStatus
387  FSCmdBlock *block,
388  uint32_t uniqueId,
389  uint8_t slotNo,
390  const char *path,
391  FSDirectoryHandle *handle,
392  FSErrorFlag errorMask);
393 
394 /*
395  * Calls SAVEOpenDirOtherApplicationAsync
396  * titleId: 0x0005000210000000L | (uniqueId << 0x8)
397  */
398 FSStatus
400  FSCmdBlock *block,
401  uint32_t uniqueId,
402  uint8_t slotNo,
403  const char *path,
404  FSDirectoryHandle *handle,
405  FSErrorFlag errorMask);
406 
407 /*
408  * Calls SAVEOpenDirOtherApplication
409  * titleId: 0x0005000210000000L | (uniqueId << 0x8) | variation
410  */
411 FSStatus
413  FSCmdBlock *block,
414  uint32_t uniqueId,
415  uint8_t variation,
416  uint8_t slotNo,
417  const char *path,
418  FSDirectoryHandle *handle,
419  FSErrorFlag errorMask);
420 
421 /*
422  * Calls SAVEOpenDirOtherApplicationAsync
423  * titleId: 0x0005000210000000L | (uniqueId << 0x8) | variation
424  */
425 FSStatus
427  FSCmdBlock *block,
428  uint32_t uniqueId,
429  uint8_t variation,
430  uint8_t slotNo,
431  const char *path,
432  FSDirectoryHandle *handle,
433  FSErrorFlag errorMask);
434 
435 /*
436  * Calls SAVEOpenDirOtherApplication
437  * titleId: 0x0005000010000000L | (uniqueId << 0x8)
438  */
439 FSStatus
441  FSCmdBlock *block,
442  uint32_t uniqueId,
443  uint8_t slotNo,
444  const char *path,
445  FSDirectoryHandle *handle,
446  FSErrorFlag errorMask);
447 
448 /*
449  * Calls SAVEOpenDirOtherApplicationAsync
450  * titleId: 0x0005000010000000L | (uniqueId << 0x8)
451  */
452 FSStatus
454  FSCmdBlock *block,
455  uint32_t uniqueId,
456  uint8_t slotNo,
457  const char *path,
458  FSDirectoryHandle *handle,
459  FSErrorFlag errorMask);
460 
461 /*
462  * Calls SAVEOpenDirOtherApplication
463  * titleId: 0x0005000010000000L | (uniqueId << 0x8) | variation
464  */
465 FSStatus
467  FSCmdBlock *block,
468  uint32_t uniqueId,
469  uint8_t variation,
470  uint8_t slotNo,
471  const char *path,
472  FSDirectoryHandle *handle,
473  FSErrorFlag errorMask);
474 
475 /*
476  * Calls SAVEOpenDirOtherApplicationAsync
477  * titleId: 0x0005000010000000L | (uniqueId << 0x8) | variation
478  */
479 FSStatus
481  FSCmdBlock *block,
482  uint32_t uniqueId,
483  uint8_t variation,
484  uint8_t slotNo,
485  const char *path,
486  FSDirectoryHandle *handle,
487  FSErrorFlag errorMask);
488 
489 FSStatus
491  FSCmdBlock *block,
492  uint8_t slotNo,
493  const char *path,
494  const char *mode,
495  FSFileHandle *handle,
496  FSErrorFlag errorMask);
497 
498 FSStatus
500  FSCmdBlock *block,
501  uint8_t slotNo,
502  const char *path,
503  const char *mode,
504  FSFileHandle *outHandle,
505  FSErrorFlag errorMask,
506  FSAsyncData *asyncData);
507 
508 FSStatus
510  FSCmdBlock *block,
511  uint64_t titleId,
512  uint8_t slotNo,
513  const char *path,
514  const char *mode,
515  FSFileHandle *handle,
516  FSErrorFlag errorMask);
517 
518 FSStatus
520  FSCmdBlock *block,
521  uint64_t titleId,
522  uint8_t slotNo,
523  const char *path,
524  const char *mode,
525  FSFileHandle *outHandle,
526  FSErrorFlag errorMask,
527  FSAsyncData *asyncData);
528 
529 /*
530  * Calls SAVEOpenFileOtherApplication
531  * titleId: 0x0005000210000000L | (uniqueId << 0x8)
532  */
533 FSStatus
535  FSCmdBlock *block,
536  uint32_t uniqueId,
537  uint8_t slotNo,
538  const char *path,
539  const char *mode,
540  FSFileHandle *handle,
541  FSErrorFlag errorMask);
542 
543 /*
544  * Calls SAVEOpenFileOtherApplicationAsync
545  * titleId: 0x0005000210000000L | (uniqueId << 0x8)
546  */
547 FSStatus
549  FSCmdBlock *block,
550  uint32_t uniqueId,
551  uint8_t slotNo,
552  const char *path,
553  const char *mode,
554  FSFileHandle *outHandle,
555  FSErrorFlag errorMask,
556  FSAsyncData *asyncData);
557 
558 /*
559  * Calls SAVEOpenFileOtherApplication
560  * titleId: 0x0005000210000000L | (uniqueId << 0x8) | variation
561  */
562 FSStatus
564  FSCmdBlock *block,
565  uint32_t uniqueId,
566  uint8_t variation,
567  uint8_t slotNo,
568  const char *path,
569  const char *mode,
570  FSFileHandle *handle,
571  FSErrorFlag errorMask);
572 
573 /*
574  * Calls SAVEOpenFileOtherApplicationAsync
575  * titleId: 0x0005000210000000L | (uniqueId << 0x8) | variation
576  */
577 FSStatus
579  FSCmdBlock *block,
580  uint32_t uniqueId,
581  uint8_t variation,
582  uint8_t slotNo,
583  const char *path,
584  const char *mode,
585  FSFileHandle *outHandle,
586  FSErrorFlag errorMask,
587  FSAsyncData *asyncData);
588 
589 /*
590  * Calls SAVEOpenFileOtherApplication
591  * titleId: 0x0005000010000000L | (uniqueId << 0x8)
592  */
593 FSStatus
595  FSCmdBlock *block,
596  uint32_t uniqueId,
597  uint8_t slotNo,
598  const char *path,
599  const char *mode,
600  FSFileHandle *handle,
601  FSErrorFlag errorMask);
602 
603 /*
604  * Calls SAVEOpenFileOtherApplicationAsync
605  * titleId: 0x0005000010000000L | (uniqueId << 0x8)
606  */
607 FSStatus
609  FSCmdBlock *block,
610  uint32_t uniqueId,
611  uint8_t slotNo,
612  const char *path,
613  const char *mode,
614  FSFileHandle *outHandle,
615  FSErrorFlag errorMask,
616  FSAsyncData *asyncData);
617 
618 /*
619  * Calls SAVEOpenFileOtherApplication
620  * titleId: 0x0005000010000000L | (uniqueId << 0x8) | variation
621  */
622 FSStatus
624  FSCmdBlock *block,
625  uint32_t uniqueId,
626  uint8_t variation,
627  uint8_t slotNo,
628  const char *path,
629  const char *mode,
630  FSFileHandle *handle,
631  FSErrorFlag errorMask);
632 
633 /*
634  * Calls SAVEOpenFileOtherApplicationAsync
635  * titleId: 0x0005000010000000L | (uniqueId << 0x8) | variation
636  */
637 FSStatus
639  FSCmdBlock *block,
640  uint32_t uniqueId,
641  uint8_t variation,
642  uint8_t slotNo,
643  const char *path,
644  const char *mode,
645  FSFileHandle *outHandle,
646  FSErrorFlag errorMask,
647  FSAsyncData *asyncData);
648 
649 FSStatus
651  FSCmdBlock *block,
652  uint8_t slotNo,
653  const char *path,
654  FSErrorFlag errorMask);
655 
656 FSStatus
658  FSCmdBlock *block,
659  uint8_t slotNo,
660  const char *path,
661  FSErrorFlag errorMask,
662  FSAsyncData *asyncData);
663 
664 FSStatus
666  FSCmdBlock *block,
667  uint8_t slotNo,
668  const char *oldPath,
669  const char *newPath,
670  FSErrorFlag errorMask);
671 
672 FSStatus
674  FSCmdBlock *block,
675  uint8_t slotNo,
676  const char *oldPath,
677  const char *newPath,
678  FSErrorFlag errorMask,
679  FSAsyncData *asyncData);
680 
681 FSStatus
683  FSCmdBlock *block,
684  uint8_t slotNo,
685  FSErrorFlag errorMask);
686 
687 FSStatus
689  FSCmdBlock *block,
690  uint8_t slotNo,
691  FSErrorFlag errorMask,
692  FSAsyncData *asyncData);
693 
694 #ifdef __cplusplus
695 }
696 #endif
uint32_t FSFileHandle
Definition: filesystem.h:32
FSErrorFlag
Definition: filesystem.h:54
FSStatus
Definition: filesystem.h:72
uint32_t FSDirectoryHandle
Definition: filesystem.h:31
FSMode
Definition: filesystem.h:137
ACPDeviceType
Definition: device.h:15
FSStatus SAVEChangeGroupMode(FSClient *client, FSCmdBlock *block, uint8_t slotNo, const char *path, FSMode mode, FSErrorFlag errorMask)
Only FS_MODE_READ_GROUP, FS_MODE_WRITE_GROUP can be changed.
FSStatus SAVEOpenDirOtherApplicationAsync(FSClient *client, FSCmdBlock *block, uint64_t titleId, uint8_t slotNo, const char *path, FSDirectoryHandle *handle, FSErrorFlag errorMask)
FSStatus SAVEMakeDir(FSClient *client, FSCmdBlock *block, uint8_t slotNo, const char *path, FSErrorFlag errorMask)
SAVEStatus SAVECheckSaveDirRequiredUpdate(int *unk1, uint64_t *unk2)
FSStatus SAVEChangeGroupAndOthersModeAsync(FSClient *client, FSCmdBlock *block, uint8_t slotNo, const char *path, FSMode mode, FSErrorFlag errorMask, FSAsyncData *asyncData)
Only FS_MODE_READ_GROUP, FS_MODE_WRITE_GROUP, FS_MODE_READ_OTHER and FS_MODE_WRITE_OTHER can be chang...
FSStatus SAVEOpenDirOtherDemoApplication(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t slotNo, const char *path, FSDirectoryHandle *handle, FSErrorFlag errorMask)
FSStatus SAVERollbackQuota(FSClient *client, FSCmdBlock *block, uint8_t slotNo, FSErrorFlag errorMask)
FSStatus SAVEOpenFileOtherDemoApplicationVariation(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t variation, uint8_t slotNo, const char *path, const char *mode, FSFileHandle *handle, FSErrorFlag errorMask)
FSStatus SAVEOpenFile(FSClient *client, FSCmdBlock *block, uint8_t slotNo, const char *path, const char *mode, FSFileHandle *handle, FSErrorFlag errorMask)
FSStatus SAVEMakeDirAsync(FSClient *client, FSCmdBlock *block, uint8_t slotNo, const char *path, FSErrorFlag errorMask, FSAsyncData *asyncData)
FSStatus SAVEOpenFileOtherNormalApplication(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t slotNo, const char *path, const char *mode, FSFileHandle *handle, FSErrorFlag errorMask)
FSStatus SAVERemoveAsync(FSClient *client, FSCmdBlock *block, uint8_t slotNo, const char *path, FSErrorFlag errorMask, FSAsyncData *asyncData)
FSStatus SAVEOpenDir(FSClient *client, FSCmdBlock *block, uint8_t slotNo, const char *path, FSDirectoryHandle *handle, FSErrorFlag errorMask)
FSStatus SAVEOpenFileOtherNormalApplicationAsync(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t slotNo, const char *path, const char *mode, FSFileHandle *outHandle, FSErrorFlag errorMask, FSAsyncData *asyncData)
FSStatus SAVEFlushQuota(FSClient *client, FSCmdBlock *block, uint8_t slotNo, FSErrorFlag errorMask)
FSStatus SAVEOpenDirOtherApplication(FSClient *client, FSCmdBlock *block, uint64_t titleId, uint8_t slotNo, const char *path, FSDirectoryHandle *handle, FSErrorFlag errorMask)
SAVEStatus SAVEInitSaveDirByAppMeta(uint8_t slotNo, const char *metaXmlPath, uint8_t *metaXmlBuffer, uint32_t metaXmlBufferSize, const char *iconPath, uint8_t *iconBuffer, uint32_t iconBufferSize)
SAVEStatus SAVEInitCommonSaveDir()
FSStatus SAVEGetStatOtherNormalApplicationVariationAsync(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t variation, uint8_t slotNo, const char *path, FSStat *stat, FSErrorFlag errorMask, FSAsyncData *asyncData)
FSStatus SAVEChangeDir(FSClient *client, FSCmdBlock *block, uint8_t slotNo, const char *path, FSErrorFlag errorMask)
FSStatus SAVEOpenFileOtherNormalApplicationVariationAsync(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t variation, uint8_t slotNo, const char *path, const char *mode, FSFileHandle *outHandle, FSErrorFlag errorMask, FSAsyncData *asyncData)
FSStatus SAVEOpenDirOtherDemoApplicationAsync(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t slotNo, const char *path, FSDirectoryHandle *handle, FSErrorFlag errorMask)
FSStatus SAVERollbackQuotaAsync(FSClient *client, FSCmdBlock *block, uint8_t slotNo, FSErrorFlag errorMask, FSAsyncData *asyncData)
FSStatus SAVEFlushQuotaAsync(FSClient *client, FSCmdBlock *block, uint8_t slotNo, FSErrorFlag errorMask, FSAsyncData *asyncData)
FSStatus SAVEGetStat(FSClient *client, FSCmdBlock *block, uint8_t slotNo, FSStat *stat, FSErrorFlag errorMask)
FSStatus SAVEGetStatOtherNormalApplication(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t slotNo, const char *path, FSStat *stat, FSErrorFlag errorMask)
FSStatus SAVEGetFreeSpaceSize(FSClient *client, FSCmdBlock *block, uint8_t slotNo, uint64_t *outSize, FSErrorFlag errorMask)
FSStatus SAVEOpenDirAsync(FSClient *client, FSCmdBlock *block, uint8_t slotNo, const char *path, FSDirectoryHandle *handle, FSErrorFlag errorMask, FSAsyncData *asyncData)
FSStatus SAVEGetStatAsync(FSClient *client, FSCmdBlock *block, uint8_t slotNo, FSStat *stat, FSErrorFlag errorMask, FSAsyncData *asyncData)
FSStatus SAVEGetFreeSpaceSizeAsync(FSClient *client, FSCmdBlock *block, uint8_t slotNo, int64_t *outSize, FSErrorFlag errorMask, FSAsyncData *asyncData)
FSStatus SAVEGetStatOtherDemoApplicationVariationAsync(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t variation, uint8_t slotNo, const char *path, FSStat *stat, FSErrorFlag errorMask, FSAsyncData *asyncData)
SAVEStatus SAVEGetSharedDataTitlePath(uint64_t titleID, const char *path, char *buffer, uint32_t bufferSize)
SAVEStatus SAVEInitAccountSaveDir(uint8_t slotNo)
SAVEStatus SAVEGetSharedSaveDataPath(uint64_t titleID, const char *path, char *buffer, uint32_t bufferSize)
SAVEStatus SAVEGetFreeSpaceSizeOfDevice(ACPDeviceType deviceType)
FSStatus SAVEOpenDirOtherNormalApplication(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t slotNo, const char *path, FSDirectoryHandle *handle, FSErrorFlag errorMask)
FSStatus SAVERename(FSClient *client, FSCmdBlock *block, uint8_t slotNo, const char *oldPath, const char *newPath, FSErrorFlag errorMask)
FSStatus SAVEGetStatOtherNormalApplicationAsync(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t slotNo, const char *path, FSStat *stat, FSErrorFlag errorMask, FSAsyncData *asyncData)
SAVEStatus SAVEGetNoDeleteGroupSaveDirPath(char *buffer, uint32_t bufferSize)
FSStatus SAVEOpenDirOtherNormalApplicationVariation(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t variation, uint8_t slotNo, const char *path, FSDirectoryHandle *handle, FSErrorFlag errorMask)
FSStatus SAVEGetStatOtherApplication(FSClient *client, FSCmdBlock *block, uint64_t titleId, const char *path, FSStat *stat, FSErrorFlag errorMask)
FSStatus SAVERenameAsync(FSClient *client, FSCmdBlock *block, uint8_t slotNo, const char *oldPath, const char *newPath, FSErrorFlag errorMask, FSAsyncData *asyncData)
FSStatus SAVEGetStatOtherNormalApplicationVariation(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t variation, uint8_t slotNo, const char *path, FSStat *stat, FSErrorFlag errorMask)
SAVEStatus SAVEInit()
FSStatus SAVEOpenFileOtherApplicationAsync(FSClient *client, FSCmdBlock *block, uint64_t titleId, uint8_t slotNo, const char *path, const char *mode, FSFileHandle *outHandle, FSErrorFlag errorMask, FSAsyncData *asyncData)
SAVEStatus SAVEGetNoDeleteSaveDataPath(uint64_t titleID, const char *path, char *buffer, uint32_t bufferSize)
FSStatus SAVEGetStatOtherDemoApplicationVariation(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t variation, uint8_t slotNo, const char *path, FSStat *stat, FSErrorFlag errorMask)
FSStatus SAVEChangeGroupModeAsync(FSClient *client, FSCmdBlock *block, uint8_t slotNo, const char *path, FSMode mode, FSErrorFlag errorMask, FSAsyncData *asyncData)
Only FS_MODE_READ_GROUP, FS_MODE_WRITE_GROUP can be changed.
FSStatus SAVEOpenFileOtherDemoApplication(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t slotNo, const char *path, const char *mode, FSFileHandle *handle, FSErrorFlag errorMask)
FSStatus SAVEOpenDirOtherDemoApplicationVariation(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t variation, uint8_t slotNo, const char *path, FSDirectoryHandle *handle, FSErrorFlag errorMask)
FSStatus SAVEGetStatOtherDemoApplicationAsync(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t slotNo, const char *path, FSStat *stat, FSErrorFlag errorMask, FSAsyncData *asyncData)
FSStatus SAVEOpenFileAsync(FSClient *client, FSCmdBlock *block, uint8_t slotNo, const char *path, const char *mode, FSFileHandle *outHandle, FSErrorFlag errorMask, FSAsyncData *asyncData)
SAVEStatus SAVEUpdateSaveDir()
void SAVEInitNoDeleteGroupSaveDir()
SAVEStatus
Definition: save.h:12
@ SAVE_STATUS_OK
Definition: save.h:13
@ SAVE_STATUS_NOT_FOUND
Definition: save.h:14
@ SAVE_STATUS_STORAGE_FULL
Definition: save.h:15
FSStatus SAVEOpenFileOtherNormalApplicationVariation(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t variation, uint8_t slotNo, const char *path, const char *mode, FSFileHandle *handle, FSErrorFlag errorMask)
FSStatus SAVEGetStatOtherDemoApplication(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t slotNo, const char *path, FSStat *stat, FSErrorFlag errorMask)
FSStatus SAVEChangeDirAsync(FSClient *client, FSCmdBlock *block, uint8_t slotNo, const char *path, FSErrorFlag errorMask, FSAsyncData *asyncData)
FSStatus SAVERemove(FSClient *client, FSCmdBlock *block, uint8_t slotNo, const char *path, FSErrorFlag errorMask)
SAVEStatus SAVEInitSaveDir(uint8_t slotNo)
FSStatus SAVEOpenFileOtherApplication(FSClient *client, FSCmdBlock *block, uint64_t titleId, uint8_t slotNo, const char *path, const char *mode, FSFileHandle *handle, FSErrorFlag errorMask)
FSStatus SAVEOpenDirOtherNormalApplicationVariationAsync(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t variation, uint8_t slotNo, const char *path, FSDirectoryHandle *handle, FSErrorFlag errorMask)
FSStatus SAVEOpenFileOtherDemoApplicationAsync(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t slotNo, const char *path, const char *mode, FSFileHandle *outHandle, FSErrorFlag errorMask, FSAsyncData *asyncData)
FSStatus SAVEOpenDirOtherDemoApplicationVariationAsync(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t variation, uint8_t slotNo, const char *path, FSDirectoryHandle *handle, FSErrorFlag errorMask)
FSStatus SAVEChangeGroupAndOthersMode(FSClient *client, FSCmdBlock *block, uint8_t slotNo, const char *path, FSMode mode, FSErrorFlag errorMask)
Only FS_MODE_READ_GROUP, FS_MODE_WRITE_GROUP, FS_MODE_READ_OTHER and FS_MODE_WRITE_OTHER can be chang...
void SAVEShutdown()
FSStatus SAVEOpenDirOtherNormalApplicationAsync(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t slotNo, const char *path, FSDirectoryHandle *handle, FSErrorFlag errorMask)
FSStatus SAVEGetStatOtherApplicationAsync(FSClient *client, FSCmdBlock *block, uint64_t titleId, const char *path, FSStat *stat, FSErrorFlag errorMask, FSAsyncData *asyncData)
FSStatus SAVEOpenFileOtherDemoApplicationVariationAsync(FSClient *client, FSCmdBlock *block, uint32_t uniqueId, uint8_t variation, uint8_t slotNo, const char *path, const char *mode, FSFileHandle *outHandle, FSErrorFlag errorMask, FSAsyncData *asyncData)