aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/ivfc_archive.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-10-28 11:30:25 -0400
committerbunnei <bunneidev@gmail.com>2015-10-28 11:30:25 -0400
commitaf26b7a0bcb2058c861a0ea5ce9f9762d2ffa231 (patch)
tree50428d52aef94113cf2920916951679ff9cda93a /src/core/file_sys/ivfc_archive.cpp
parent7e18bcf6e0d429d9aeb23ec85acc762023d359d4 (diff)
parent5dfd2dba70b15cead6358b40b980d5be1b32039e (diff)
Merge pull request #1208 from archshift/free-bytes
Implement FS_User::GetFreeBytes
Diffstat (limited to 'src/core/file_sys/ivfc_archive.cpp')
-rw-r--r--src/core/file_sys/ivfc_archive.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/file_sys/ivfc_archive.cpp b/src/core/file_sys/ivfc_archive.cpp
index 441ca9b53..2efc31a8c 100644
--- a/src/core/file_sys/ivfc_archive.cpp
+++ b/src/core/file_sys/ivfc_archive.cpp
@@ -59,6 +59,11 @@ std::unique_ptr<DirectoryBackend> IVFCArchive::OpenDirectory(const Path& path) c
return Common::make_unique<IVFCDirectory>();
}
+u64 IVFCArchive::GetFreeBytes() const {
+ LOG_WARNING(Service_FS, "Attempted to get the free space in an IVFC archive");
+ return 0;
+}
+
////////////////////////////////////////////////////////////////////////////////////////////////////
size_t IVFCFile::Read(const u64 offset, const size_t length, u8* buffer) const {