diff options
| author | 2018-04-02 13:05:25 -0400 | |
|---|---|---|
| committer | 2018-04-02 13:05:25 -0400 | |
| commit | f92594d744eedc6f8b01c5d5f761b55b7035be1f (patch) | |
| tree | 487a643bbd523b37e95ba1fc1bd3baa576831485 /src/core/file_sys | |
| parent | Merge pull request #288 from Subv/macro_interpreter (diff) | |
| parent | hle_ipc, fsp_srv: Cleanup logging. (diff) | |
| download | yuzu-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.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 { | |||
| 174 | } | 174 | } |
| 175 | 175 | ||
| 176 | bool Disk_Storage::SetSize(const u64 size) const { | 176 | bool 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 | ||
| 181 | Disk_Directory::Disk_Directory(const std::string& path) : directory() { | 182 | Disk_Directory::Disk_Directory(const std::string& path) : directory() { |