diff options
| author | archshift <gh@archshift.com> | 2015-10-18 15:52:37 -0700 |
|---|---|---|
| committer | archshift <gh@archshift.com> | 2015-10-27 23:33:59 -0700 |
| commit | 5da25ae7d0f1d47fa7ce4aa01010933ec8b11cf3 (patch) | |
| tree | bda933874f35988982444c9e4e934fe64a6e0a9c /src/core/file_sys/disk_archive.cpp | |
| parent | d52e81d4252d9b5584c2f71cd0d0705081c8e8b2 (diff) | |
Implement FS_User::GetFreeBytes
Diffstat (limited to 'src/core/file_sys/disk_archive.cpp')
| -rw-r--r-- | src/core/file_sys/disk_archive.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/file_sys/disk_archive.cpp b/src/core/file_sys/disk_archive.cpp index e9ecd2b1cc..0ba5022003 100644 --- a/src/core/file_sys/disk_archive.cpp +++ b/src/core/file_sys/disk_archive.cpp @@ -74,6 +74,11 @@ std::unique_ptr<DirectoryBackend> DiskArchive::OpenDirectory(const Path& path) c return std::move(directory); } +u64 DiskArchive::GetFreeBytes() const { + // TODO: Stubbed to return 1GiB + return 1024 * 1024 * 1024; +} + //////////////////////////////////////////////////////////////////////////////////////////////////// DiskFile::DiskFile(const DiskArchive& archive, const Path& path, const Mode mode) { |
