Merge pull request #5248 from sky-zer/savedata-fix

SceUtilitySavedataFileListEntry correction
This commit is contained in:
Henrik Rydgård 2014-01-27 14:47:22 -08:00
commit c0d3d9c2d3
2 changed files with 2 additions and 0 deletions

View File

@ -1069,6 +1069,7 @@ int SavedataParam::GetFilesList(SceUtilitySavedataParam *param)
}
entry->st_mode = 0x21FF;
entry->st_unk0 = 0; // TODO: check on the PSP
entry->st_size = file->size + sizeOffset;
__IoCopyDate(entry->st_ctime, file->ctime);
__IoCopyDate(entry->st_atime, file->atime);

View File

@ -138,6 +138,7 @@ struct SceUtilitySavedataIdListInfo
struct SceUtilitySavedataFileListEntry
{
s32_le st_mode;
u32_le st_unk0;
u64_le st_size;
ScePspDateTime st_ctime;
ScePspDateTime st_atime;