mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-21 02:09:05 +02:00
Fix the Android recursive size computation and hook it up.
This commit is contained in:
1 parent
48310d15a9
commit
fcc0337576
8 files changed
+44
-36
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user