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 { u64 SaveDataArchive::GetFreeBytes() const {
// TODO: Stubbed to return 1GiB // TODO: Stubbed to return 32MiB
return 1024 * 1024 * 1024; return 1024 * 1024 * 32;
} }
} // namespace FileSys } // namespace FileSys