Save data services.
More...
|
ACPResult | ACPCreateSaveDir (uint32_t persistentId, ACPDeviceType deviceType) |
|
ACPResult | ACPIsExternalStorageRequired (BOOL *required) |
|
ACPResult | ACPMountExternalStorage () |
|
ACPResult | ACPMountSaveDir () |
|
ACPResult | ACPRemoveSaveDir (uint32_t persistentId, uint64_t titleId, ACPDeviceType deviceType) |
| Deletes the given user's save data directory for the given title. More...
|
|
ACPResult | ACPRemoveSaveDirWithoutFlush (uint32_t persistentId, uint64_t titleId, ACPDeviceType deviceType) |
| Deletes the given user's save data directory for the given title. More...
|
|
ACPResult | ACPRemoveSaveDirWithoutMetaCheck (uint32_t persistentId, uint64_t titleId, ACPDeviceType deviceType) |
| Deletes the given user's save data directory for the given title. More...
|
|
ACPResult | ACPRepairSaveMetaDir () |
|
ACPResult | ACPUnmountExternalStorage () |
|
ACPResult | ACPUnmountSaveDir () |
|
ACPResult | ACPGetSaveDataTitleIdList (ACPDeviceType deviceType, uint64_t *titlesOut, uint32_t maxCount, uint32_t *countOut) |
| Gets all titles id which have save data. More...
|
|
ACPResult | ACPGetTitleSaveDirEx (uint64_t titleId, ACPDeviceType deviceType, uint32_t u1, ACPSaveDirInfo *saveDirInfo, uint32_t maxCount, uint32_t *countOut) |
| Gets a list of all saves dir for a given title id. More...
|
|
ACPResult | ACPGetTitleSaveDirExWithoutMetaCheck (uint64_t titleId, ACPDeviceType deviceType, uint32_t u1, ACPSaveDirInfo *saveDirInfo, uint32_t maxCount, uint32_t *countOut) |
| Gets a list of all saves dir for a given title id. More...
|
|
Save data services.
◆ ACPSaveDirInfo
Definition at line 21 of file save.h.
Data Fields |
uint32_t |
persistentId |
|
char |
path[0x40] |
|
◆ ACPTitleId
◆ ACPSaveDirInfo
◆ ACPCreateSaveDir()
◆ ACPIsExternalStorageRequired()
◆ ACPMountExternalStorage()
◆ ACPMountSaveDir()
◆ ACPRemoveSaveDir()
Deletes the given user's save data directory for the given title.
- Parameters
-
persistentId | The persistent ID of the user. Pass 0 to delete the 'common' directory. |
- Returns
- ACP_RESULT_SUCCESS on success.
◆ ACPRemoveSaveDirWithoutFlush()
Deletes the given user's save data directory for the given title.
- Parameters
-
persistentId | The persistent ID of the user. Pass 0 to delete the 'common' directory. |
- Returns
- ACP_RESULT_SUCCESS on success.
◆ ACPRemoveSaveDirWithoutMetaCheck()
ACPResult ACPRemoveSaveDirWithoutMetaCheck |
( |
uint32_t |
persistentId, |
|
|
uint64_t |
titleId, |
|
|
ACPDeviceType |
deviceType |
|
) |
| |
Deletes the given user's save data directory for the given title.
- Parameters
-
persistentId | The persistent ID of the user. Pass 0 to delete the 'common' directory. |
- Returns
- ACP_RESULT_SUCCESS on success.
◆ ACPRepairSaveMetaDir()
◆ ACPUnmountExternalStorage()
◆ ACPUnmountSaveDir()
◆ ACPGetSaveDataTitleIdList()
ACPResult ACPGetSaveDataTitleIdList |
( |
ACPDeviceType |
deviceType, |
|
|
uint64_t * |
titlesOut, |
|
|
uint32_t |
maxCount, |
|
|
uint32_t * |
countOut |
|
) |
| |
Gets all titles id which have save data.
- Parameters
-
deviceType | |
titlesOut | needs to be aligned to 0x40 |
maxCount | needs to be a multiple of 8 |
countOut | |
- Returns
- ACP_RESULT_SUCCESS on success.
◆ ACPGetTitleSaveDirEx()
Gets a list of all saves dir for a given title id.
- Parameters
-
titleId | |
deviceType | |
u1 | seems to be always 0 |
saveDirInfo | needs to be aligned to 0x40 |
maxCount | |
countOut | |
- Returns
- ACP_RESULT_SUCCESS on success.
◆ ACPGetTitleSaveDirExWithoutMetaCheck()
Gets a list of all saves dir for a given title id.
- Parameters
-
titleId | |
deviceType | |
u1 | seems to be always 0 |
saveDirInfo | needs to be aligned to 0x40 |
maxCount | |
countOut | |
- Returns
- ACP_RESULT_SUCCESS on success.