Fix the Android recursive size computation and hook it up.
This commit is contained in:
parent
48310d15a9
commit
fcc0337576
8 changed files with 44 additions and 36 deletions
|
@ -430,8 +430,7 @@ static time_t GetTotalSize(const SavedataButton *b) {
|
|||
switch (Identify_File(fileLoader.get(), &errorString)) {
|
||||
case IdentifiedFileType::PSP_PBP_DIRECTORY:
|
||||
case IdentifiedFileType::PSP_SAVEDATA_DIRECTORY:
|
||||
return File::GetDirectoryRecursiveSize(ResolvePBPDirectory(b->GamePath()), nullptr, File::GETFILES_GETHIDDEN);
|
||||
|
||||
return File::ComputeRecursiveDirectorySize(ResolvePBPDirectory(b->GamePath()));
|
||||
default:
|
||||
return fileLoader->FileSize();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue