summaryrefslogtreecommitdiff
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorGravatar bunnei2018-04-02 13:05:25 -0400
committerGravatar GitHub2018-04-02 13:05:25 -0400
commitf92594d744eedc6f8b01c5d5f761b55b7035be1f (patch)
tree487a643bbd523b37e95ba1fc1bd3baa576831485 /src/core/file_sys
parentMerge pull request #288 from Subv/macro_interpreter (diff)
parenthle_ipc, fsp_srv: Cleanup logging. (diff)
downloadyuzu-f92594d744eedc6f8b01c5d5f761b55b7035be1f.tar.gz
yuzu-f92594d744eedc6f8b01c5d5f761b55b7035be1f.tar.xz
yuzu-f92594d744eedc6f8b01c5d5f761b55b7035be1f.zip
Merge pull request #296 from bunnei/misc-mem-fsp-fixes
Fix stack region, implement FSP GetSize/SetSize, and some stubs
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 {
174} 174}
175 175
176bool Disk_Storage::SetSize(const u64 size) const { 176bool Disk_Storage::SetSize(const u64 size) const {
177 LOG_WARNING(Service_FS, "(STUBBED) called"); 177 file->Resize(size);
178 return false; 178 file->Flush();
179 return true;
179} 180}
180 181
181Disk_Directory::Disk_Directory(const std::string& path) : directory() { 182Disk_Directory::Disk_Directory(const std::string& path) : directory() {