diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-04-23 20:38:18 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-09-21 22:50:39 +0200 |
commit | a49169e81906d230fd6bfc7546acc6f763f4c321 (patch) | |
tree | eceaf472b9e52755b333f0945d14c4bddc1b741c /src/core/hle/service/filesystem/fsp_srv.cpp | |
parent | yuzu: Add UI to manage filesystem paths and sizes (diff) | |
download | yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.tar yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.tar.gz yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.tar.bz2 yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.tar.lz yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.tar.xz yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.tar.zst yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/filesystem/fsp_srv.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp index 525fda19f..305d9e176 100644 --- a/src/core/hle/service/filesystem/fsp_srv.cpp +++ b/src/core/hle/service/filesystem/fsp_srv.cpp @@ -32,8 +32,8 @@ namespace Service::FileSystem { struct SizeGetter { - std::function<u64()> free; - std::function<u64()> total; + std::function<u64()> get_free_size; + std::function<u64()> get_total_size; static SizeGetter FromStorageId(const FileSystemController& fsc, FileSys::StorageId id) { return { @@ -485,7 +485,7 @@ public: IPC::ResponseBuilder rb{ctx, 4}; rb.Push(RESULT_SUCCESS); - rb.Push(size.free()); + rb.Push(size.get_free_size()); } void GetTotalSpaceSize(Kernel::HLERequestContext& ctx) { @@ -493,7 +493,7 @@ public: IPC::ResponseBuilder rb{ctx, 4}; rb.Push(RESULT_SUCCESS); - rb.Push(size.total()); + rb.Push(size.get_total_size()); } private: |