summaryrefslogtreecommitdiff
path: root/src/core/hle/service/filesystem
diff options
context:
space:
mode:
authorGravatar Hexagon122018-04-11 14:48:56 +0300
committerGravatar Hexagon122018-04-11 14:48:56 +0300
commitcc89b7bfcbe3448c8ca3e224b8d3fa628214748e (patch)
tree7189a5cc1c44914d55183d76d584c777eb2334a0 /src/core/hle/service/filesystem
parentDecimal change (diff)
downloadyuzu-cc89b7bfcbe3448c8ca3e224b8d3fa628214748e.tar.gz
yuzu-cc89b7bfcbe3448c8ca3e224b8d3fa628214748e.tar.xz
yuzu-cc89b7bfcbe3448c8ca3e224b8d3fa628214748e.zip
Various fixes and clang
Diffstat (limited to 'src/core/hle/service/filesystem')
-rw-r--r--src/core/hle/service/filesystem/fsp_srv.cpp17
1 files changed, 5 insertions, 12 deletions
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp
index 92e48a757..48c45b1b4 100644
--- a/src/core/hle/service/filesystem/fsp_srv.cpp
+++ b/src/core/hle/service/filesystem/fsp_srv.cpp
@@ -22,12 +22,8 @@ public:
22 IStorage(std::unique_ptr<FileSys::StorageBackend>&& backend) 22 IStorage(std::unique_ptr<FileSys::StorageBackend>&& backend)
23 : ServiceFramework("IStorage"), backend(std::move(backend)) { 23 : ServiceFramework("IStorage"), backend(std::move(backend)) {
24 static const FunctionInfo functions[] = { 24 static const FunctionInfo functions[] = {
25 {0, &IStorage::Read, "Read"}, 25 {0, &IStorage::Read, "Read"}, {1, nullptr, "Write"}, {2, nullptr, "Flush"},
26 {1, nullptr, "Write"}, 26 {3, nullptr, "SetSize"}, {4, nullptr, "GetSize"}, {5, nullptr, "OperateRange"},
27 {2, nullptr, "Flush"},
28 {3, nullptr, "SetSize"},
29 {4, nullptr, "GetSize"},
30 {5, nullptr, "OperateRange"},
31 }; 27 };
32 RegisterHandlers(functions); 28 RegisterHandlers(functions);
33 } 29 }
@@ -76,12 +72,9 @@ public:
76 explicit IFile(std::unique_ptr<FileSys::StorageBackend>&& backend) 72 explicit IFile(std::unique_ptr<FileSys::StorageBackend>&& backend)
77 : ServiceFramework("IFile"), backend(std::move(backend)) { 73 : ServiceFramework("IFile"), backend(std::move(backend)) {
78 static const FunctionInfo functions[] = { 74 static const FunctionInfo functions[] = {
79 {0, &IFile::Read, "Read"}, 75 {0, &IFile::Read, "Read"}, {1, &IFile::Write, "Write"},
80 {1, &IFile::Write, "Write"}, 76 {2, nullptr, "Flush"}, {3, &IFile::SetSize, "SetSize"},
81 {2, nullptr, "Flush"}, 77 {4, &IFile::GetSize, "GetSize"}, {5, nullptr, "OperateRange"},
82 {3, &IFile::SetSize, "SetSize"},
83 {4, &IFile::GetSize, "GetSize"},
84 {5, nullptr, "OperateRange"},
85 }; 78 };
86 RegisterHandlers(functions); 79 RegisterHandlers(functions);
87 } 80 }