summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-03-31 22:02:21 +0200
committerbunnei <bunneidev@gmail.com>2018-03-31 22:06:45 +0200
commit88582b84a5851338618050e62bdd8b6a1753b5b7 (patch)
treec97bc552cb5d4c32a7e345882334acbf693f1cd2 /src/core/file_sys
parentmemory: Fix stack region. (diff)
downloadyuzu-88582b84a5851338618050e62bdd8b6a1753b5b7.tar
yuzu-88582b84a5851338618050e62bdd8b6a1753b5b7.tar.gz
yuzu-88582b84a5851338618050e62bdd8b6a1753b5b7.tar.bz2
yuzu-88582b84a5851338618050e62bdd8b6a1753b5b7.tar.lz
yuzu-88582b84a5851338618050e62bdd8b6a1753b5b7.tar.xz
yuzu-88582b84a5851338618050e62bdd8b6a1753b5b7.tar.zst
yuzu-88582b84a5851338618050e62bdd8b6a1753b5b7.zip
Diffstat (limited to 'src/core/file_sys')
-rw-r--r--src/core/file_sys/disk_filesystem.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/file_sys/disk_filesystem.cpp b/src/core/file_sys/disk_filesystem.cpp
index 3a4b45721..4235f3935 100644
--- a/src/core/file_sys/disk_filesystem.cpp
+++ b/src/core/file_sys/disk_filesystem.cpp
@@ -174,8 +174,9 @@ u64 Disk_Storage::GetSize() const {
}
bool Disk_Storage::SetSize(const u64 size) const {
- LOG_WARNING(Service_FS, "(STUBBED) called");
- return false;
+ file->Resize(size);
+ file->Flush();
+ return true;
}
Disk_Directory::Disk_Directory(const std::string& path) : directory() {