Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
14 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions core/libs/SceTypes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1829,6 +1829,40 @@ struct SaveDataBackup {
std::uint8_t reserved[32];
};

struct SaveDataCheckBackupData {
std::int32_t user_id;
std::int32_t pad;
const SceSaveDataTitleId* title_id;
const SceSaveDataDirName* dir_name;
SaveDataParam* param;
SaveDataIcon* icon;
std::uint8_t reserved[32];
};

struct SaveDataRestoreBackupData {
std::int32_t user_id;
std::int32_t pad;
const SceSaveDataTitleId* title_id;
const SceSaveDataDirName* dir_name;
const void* fingerprint;
std::uint32_t unused;
std::uint8_t reserved[32];
std::int32_t pad2;
};
static_assert(offsetof(SaveDataCheckBackupData, title_id) == 0x08);
static_assert(offsetof(SaveDataCheckBackupData, dir_name) == 0x10);
static_assert(offsetof(SaveDataCheckBackupData, param) == 0x18);
static_assert(offsetof(SaveDataCheckBackupData, icon) == 0x20);
static_assert(offsetof(SaveDataCheckBackupData, reserved) == 0x28);
static_assert(sizeof(SaveDataCheckBackupData) == 0x48);
static_assert(offsetof(SaveDataRestoreBackupData, title_id) == 0x08);
static_assert(offsetof(SaveDataRestoreBackupData, dir_name) == 0x10);
static_assert(offsetof(SaveDataRestoreBackupData, fingerprint) == 0x18);
static_assert(offsetof(SaveDataRestoreBackupData, unused) == 0x20);
static_assert(offsetof(SaveDataRestoreBackupData, reserved) == 0x24);
static_assert(offsetof(SaveDataRestoreBackupData, pad2) == 0x44);
static_assert(sizeof(SaveDataRestoreBackupData) == 0x48);

struct SaveDataConvert {
std::int32_t user_id;
std::int32_t pad;
Expand Down
Loading
Loading