PSPSDK 2024-12-16
Loading...
Searching...
No Matches
psputility_savedata.h File Reference
#include <psptypes.h>
#include <pspkerneltypes.h>
Include dependency graph for psputility_savedata.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  PspUtilitySavedataSFOParam
 title, savedataTitle, detail: parts of the unencrypted SFO data, it contains what the VSH and standard load screen shows More...
 
struct  PspUtilitySavedataFileData
 
struct  PspUtilitySavedataSizeEntry
 
struct  PspUtilitySavedataSizeInfo
 
struct  SceUtilitySavedataIdListEntry
 
struct  SceUtilitySavedataIdListInfo
 
struct  SceUtilitySavedataFileListEntry
 
struct  SceUtilitySavedataFileListInfo
 
struct  SceUtilitySavedataMsFreeInfo
 
struct  SceUtilitySavedataUsedDataInfo
 
struct  SceUtilitySavedataMsDataInfo
 
struct  PspUtilitySavedataListSaveNewData
 
struct  SceUtilitySavedataParam
 Structure to hold the parameters for the sceUtilitySavedataInitStart function. More...
 

Typedefs

typedef struct PspUtilitySavedataSFOParam PspUtilitySavedataSFOParam
 title, savedataTitle, detail: parts of the unencrypted SFO data, it contains what the VSH and standard load screen shows
 
typedef struct PspUtilitySavedataFileData PspUtilitySavedataFileData
 
typedef struct PspUtilitySavedataSizeEntry PspUtilitySavedataSizeEntry
 
typedef struct PspUtilitySavedataSizeInfo PspUtilitySavedataSizeInfo
 
typedef struct SceUtilitySavedataIdListEntry SceUtilitySavedataIdListEntry
 
typedef struct SceUtilitySavedataIdListInfo SceUtilitySavedataIdListInfo
 
typedef struct SceUtilitySavedataFileListEntry SceUtilitySavedataFileListEntry
 
typedef struct SceUtilitySavedataFileListInfo SceUtilitySavedataFileListInfo
 
typedef struct SceUtilitySavedataMsFreeInfo SceUtilitySavedataMsFreeInfo
 
typedef struct SceUtilitySavedataUsedDataInfo SceUtilitySavedataUsedDataInfo
 
typedef struct SceUtilitySavedataMsDataInfo SceUtilitySavedataMsDataInfo
 
typedef struct PspUtilitySavedataListSaveNewData PspUtilitySavedataListSaveNewData
 
typedef struct SceUtilitySavedataParam SceUtilitySavedataParam
 Structure to hold the parameters for the sceUtilitySavedataInitStart function.
 

Enumerations

enum  PspUtilitySavedataMode {
  PSP_UTILITY_SAVEDATA_AUTOLOAD = 0 , PSP_UTILITY_SAVEDATA_AUTOSAVE , PSP_UTILITY_SAVEDATA_LOAD , PSP_UTILITY_SAVEDATA_SAVE ,
  PSP_UTILITY_SAVEDATA_LISTLOAD , PSP_UTILITY_SAVEDATA_LISTSAVE , PSP_UTILITY_SAVEDATA_LISTDELETE , PSP_UTILITY_SAVEDATA_LISTALLDELETE ,
  SCE_UTILITY_SAVEDATA_SIZES , SCE_UTILITY_SAVEDATA_AUTODELETE , SCE_UTILITY_SAVEDATA_DELETE , SCE_UTILITY_SAVEDATA_LIST ,
  SCE_UTILITY_SAVEDATA_FILES , SCE_UTILITY_SAVEDATA_MAKEDATASECURE , SCE_UTILITY_SAVEDATA_MAKEDATA , SCE_UTILITY_SAVEDATA_READDATASECURE ,
  SCE_UTILITY_SAVEDATA_READDATA , SCE_UTILITY_SAVEDATA_WRITEDATASECURE , SCE_UTILITY_SAVEDATA_WRITEDATA , SCE_UTILITY_SAVEDATA_ERASESECURE ,
  SCE_UTILITY_SAVEDATA_ERASE , SCE_UTILITY_SAVEDATA_DELETEDATA , SCE_UTILITY_SAVEDATA_GETSIZE
}
 Save data utility modes. More...
 
enum  PspUtilitySavedataFocus {
  PSP_UTILITY_SAVEDATA_FOCUS_UNKNOWN = 0 , PSP_UTILITY_SAVEDATA_FOCUS_FIRSTLIST , PSP_UTILITY_SAVEDATA_FOCUS_LASTLIST , PSP_UTILITY_SAVEDATA_FOCUS_LATEST ,
  PSP_UTILITY_SAVEDATA_FOCUS_OLDEST , PSP_UTILITY_SAVEDATA_FOCUS_FIRSTDATA , PSP_UTILITY_SAVEDATA_FOCUS_LASTDATA , PSP_UTILITY_SAVEDATA_FOCUS_FIRSTEMPTY ,
  PSP_UTILITY_SAVEDATA_FOCUS_LASTEMPTY
}
 Initial focus position for list selection types. More...
 

Functions

int sceUtilitySavedataInitStart (SceUtilitySavedataParam *params)
 Saves or Load savedata to/from the passed structure After having called this continue calling sceUtilitySavedataGetStatus to check if the operation is completed.
 
int sceUtilitySavedataGetStatus (void)
 Check the current status of the saving/loading/shutdown process Continue calling this to check current status of the process before calling this call also sceUtilitySavedataUpdate.
 
int sceUtilitySavedataShutdownStart (void)
 Shutdown the savedata utility.
 
void sceUtilitySavedataUpdate (int unknown)
 Refresh status of the savedata function.
 

Typedef Documentation

◆ PspUtilitySavedataFileData

◆ PspUtilitySavedataListSaveNewData

◆ PspUtilitySavedataSFOParam

title, savedataTitle, detail: parts of the unencrypted SFO data, it contains what the VSH and standard load screen shows

◆ PspUtilitySavedataSizeEntry

◆ PspUtilitySavedataSizeInfo

◆ SceUtilitySavedataFileListEntry

◆ SceUtilitySavedataFileListInfo

◆ SceUtilitySavedataIdListEntry

◆ SceUtilitySavedataIdListInfo

◆ SceUtilitySavedataMsDataInfo

◆ SceUtilitySavedataMsFreeInfo

◆ SceUtilitySavedataParam

◆ SceUtilitySavedataUsedDataInfo

Enumeration Type Documentation

◆ PspUtilitySavedataFocus

Initial focus position for list selection types.

Enumerator
PSP_UTILITY_SAVEDATA_FOCUS_UNKNOWN 
PSP_UTILITY_SAVEDATA_FOCUS_FIRSTLIST 
PSP_UTILITY_SAVEDATA_FOCUS_LASTLIST 
PSP_UTILITY_SAVEDATA_FOCUS_LATEST 
PSP_UTILITY_SAVEDATA_FOCUS_OLDEST 
PSP_UTILITY_SAVEDATA_FOCUS_FIRSTDATA 
PSP_UTILITY_SAVEDATA_FOCUS_LASTDATA 
PSP_UTILITY_SAVEDATA_FOCUS_FIRSTEMPTY 
PSP_UTILITY_SAVEDATA_FOCUS_LASTEMPTY 

◆ PspUtilitySavedataMode

Save data utility modes.

Enumerator
PSP_UTILITY_SAVEDATA_AUTOLOAD 
PSP_UTILITY_SAVEDATA_AUTOSAVE 
PSP_UTILITY_SAVEDATA_LOAD 
PSP_UTILITY_SAVEDATA_SAVE 
PSP_UTILITY_SAVEDATA_LISTLOAD 
PSP_UTILITY_SAVEDATA_LISTSAVE 
PSP_UTILITY_SAVEDATA_LISTDELETE 
PSP_UTILITY_SAVEDATA_LISTALLDELETE 
SCE_UTILITY_SAVEDATA_SIZES 
SCE_UTILITY_SAVEDATA_AUTODELETE 
SCE_UTILITY_SAVEDATA_DELETE 
SCE_UTILITY_SAVEDATA_LIST 
SCE_UTILITY_SAVEDATA_FILES 
SCE_UTILITY_SAVEDATA_MAKEDATASECURE 
SCE_UTILITY_SAVEDATA_MAKEDATA 
SCE_UTILITY_SAVEDATA_READDATASECURE 
SCE_UTILITY_SAVEDATA_READDATA 
SCE_UTILITY_SAVEDATA_WRITEDATASECURE 
SCE_UTILITY_SAVEDATA_WRITEDATA 
SCE_UTILITY_SAVEDATA_ERASESECURE 
SCE_UTILITY_SAVEDATA_ERASE 
SCE_UTILITY_SAVEDATA_DELETEDATA 
SCE_UTILITY_SAVEDATA_GETSIZE 

Function Documentation

◆ sceUtilitySavedataGetStatus()

int sceUtilitySavedataGetStatus ( void  )

Check the current status of the saving/loading/shutdown process Continue calling this to check current status of the process before calling this call also sceUtilitySavedataUpdate.

Returns
2 if the process is still being processed. 3 on save/load success, then you can call sceUtilitySavedataShutdownStart. 4 on complete shutdown.

◆ sceUtilitySavedataInitStart()

int sceUtilitySavedataInitStart ( SceUtilitySavedataParam params)

Saves or Load savedata to/from the passed structure After having called this continue calling sceUtilitySavedataGetStatus to check if the operation is completed.

Parameters
params- savedata parameters
Returns
0 on success

◆ sceUtilitySavedataShutdownStart()

int sceUtilitySavedataShutdownStart ( void  )

Shutdown the savedata utility.

after calling this continue calling sceUtilitySavedataGetStatus to check when it has shutdown

Returns
0 on success

◆ sceUtilitySavedataUpdate()

void sceUtilitySavedataUpdate ( int  unknown)

Refresh status of the savedata function.

Parameters
unknown- unknown, pass 1