diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-31 22:02:21 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-03-31 22:06:45 +0200 |
commit | 88582b84a5851338618050e62bdd8b6a1753b5b7 (patch) | |
tree | c97bc552cb5d4c32a7e345882334acbf693f1cd2 /src/core/file_sys/disk_filesystem.cpp | |
parent | memory: Fix stack region. (diff) | |
download | yuzu-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/disk_filesystem.cpp')
-rw-r--r-- | src/core/file_sys/disk_filesystem.cpp | 5 |
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() { |