pspsdk-1.0+beta2
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  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
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_SAVEDATADELETE
}
 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_UNKNOWN2, PSP_UTILITY_SAVEDATA_FOCUS_UNKNOWN3, 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

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

Structure to hold the parameters for the sceUtilitySavedataInitStart function.

Enumeration Type Documentation

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_UNKNOWN2 
PSP_UTILITY_SAVEDATA_FOCUS_UNKNOWN3 
PSP_UTILITY_SAVEDATA_FOCUS_FIRSTEMPTY 
PSP_UTILITY_SAVEDATA_FOCUS_LASTEMPTY 

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_SAVEDATADELETE 

Function Documentation

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.
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
int sceUtilitySavedataShutdownStart ( void  )

Shutdown the savedata utility.

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

Returns
0 on success
void sceUtilitySavedataUpdate ( int  unknown)

Refresh status of the savedata function.

Parameters
unknown- unknown, pass 1