cellSaveData: add more constants

This commit is contained in:
Megamouse 2019-12-27 11:41:22 +01:00
parent bb7848f6e5
commit ff0089bc6f

View File

@ -32,6 +32,24 @@ enum
CELL_SAVEDATA_CBRESULT_ERR_INVALID = -5,
};
// Bind stat return codes
enum
{
CELL_SAVEDATA_BINDSTAT_OK = 0,
CELL_SAVEDATA_BINDSTAT_ERR_CONSOLE = 1 << 0,
CELL_SAVEDATA_BINDSTAT_ERR_DISC = 1 << 1,
CELL_SAVEDATA_BINDSTAT_ERR_PROGRAM = 1 << 2,
CELL_SAVEDATA_BINDSTAT_ERR_NOACCOUNTI = 1 << 3,
CELL_SAVEDATA_BINDSTAT_ERR_NOUSER = 1 << 3,
CELL_SAVEDATA_BINDSTAT_ERR_ACCOUNTID = 1 << 4,
CELL_SAVEDATA_BINDSTAT_ERR_OTHERS = 1 << 4,
CELL_SAVEDATA_BINDSTAT_ERR_NOUSERID = 1 << 5,
CELL_SAVEDATA_BINDSTAT_ERR_USERID = 1 << 6,
CELL_SAVEDATA_BINDSTAT_ERR_NOOWNER = 1 << 8,
CELL_SAVEDATA_BINDSTAT_ERR_OWNER = 1 << 9,
CELL_SAVEDATA_BINDSTAT_ERR_LOCALOWNER = 1 << 10,
};
// Constants
enum
{
@ -105,6 +123,31 @@ enum
CELL_SAVEDATA_ERRDIALOG_NONE = 0,
CELL_SAVEDATA_ERRDIALOG_ALWAYS = 1,
CELL_SAVEDATA_ERRDIALOG_NOREPEAT = 2,
// Options for funcFixed dialog
CELL_SAVEDATA_OPTION_NONE = 0,
CELL_SAVEDATA_OPTION_NOCONFIRM = 1,
// CellSaveDataAutoIndicatorDispPosition
CELL_SAVEDATA_INDICATORPOS_LOWER_RIGHT = 0,
CELL_SAVEDATA_INDICATORPOS_LOWER_LEFT = 1,
CELL_SAVEDATA_INDICATORPOS_UPPER_RIGHT = 2,
CELL_SAVEDATA_INDICATORPOS_UPPER_LEFT = 3,
CELL_SAVEDATA_INDICATORPOS_CENTER = 4,
// CellSaveDataAutoIndicatorDispMsgAlign
CELL_SAVEDATA_INDICATORPOS_MSGALIGN_LEFT = 0 << 4,
CELL_SAVEDATA_INDICATORPOS_MSGALIGN_RIGHT = 1 << 4,
CELL_SAVEDATA_INDICATORPOS_MSGALIGN_CENTER = 2 << 4,
// CellSaveDataAutoIndicatorDispMode
CELL_SAVEDATA_INDICATORMODE_FIXED = 0,
CELL_SAVEDATA_INDICATORMODE_BLINK = 1,
CELL_SAVEDATA_INDICATORMODE_BLINK_FAST = 2,
CELL_SAVEDATA_INDICATORMODE_BLINK_SLOW = 3,
// Trophy ownership
CELL_SAVEDATA_DISABLE_TROPHY_OWNERSHIP_CHECK = 1 << 16,
};
// CellSaveDataListNewData::iconPosition