Merge pull request #5282 from FearlessTobi/free-bytes-fix

savedata_archive: Make GetFreeBytes return a more accurate value
This commit is contained in:
Pengfei Zhu 2020-04-29 21:41:07 +08:00 committed by GitHub
commit c937876935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -351,8 +351,8 @@ ResultVal<std::unique_ptr<DirectoryBackend>> SaveDataArchive::OpenDirectory(
}
u64 SaveDataArchive::GetFreeBytes() const {
// TODO: Stubbed to return 1GiB
return 1024 * 1024 * 1024;
// TODO: Stubbed to return 32MiB
return 1024 * 1024 * 32;
}
} // namespace FileSys