diff options
| author | Hexagon12 <benassdo@gmail.com> | 2018-04-11 14:48:56 +0300 |
|---|---|---|
| committer | Hexagon12 <benassdo@gmail.com> | 2018-04-11 14:48:56 +0300 |
| commit | cc89b7bfcbe3448c8ca3e224b8d3fa628214748e (patch) | |
| tree | 7189a5cc1c44914d55183d76d584c777eb2334a0 /src/core/hle/service/filesystem | |
| parent | a155d3b7ff6214ba75ee381d3540e8bd9bc04834 (diff) | |
Various fixes and clang
Diffstat (limited to 'src/core/hle/service/filesystem')
| -rw-r--r-- | src/core/hle/service/filesystem/fsp_srv.cpp | 17 |
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: IStorage(std::unique_ptr<FileSys::StorageBackend>&& backend) : ServiceFramework("IStorage"), backend(std::move(backend)) { static const FunctionInfo functions[] = { - {0, &IStorage::Read, "Read"}, - {1, nullptr, "Write"}, - {2, nullptr, "Flush"}, - {3, nullptr, "SetSize"}, - {4, nullptr, "GetSize"}, - {5, nullptr, "OperateRange"}, + {0, &IStorage::Read, "Read"}, {1, nullptr, "Write"}, {2, nullptr, "Flush"}, + {3, nullptr, "SetSize"}, {4, nullptr, "GetSize"}, {5, nullptr, "OperateRange"}, }; RegisterHandlers(functions); } @@ -76,12 +72,9 @@ public: explicit IFile(std::unique_ptr<FileSys::StorageBackend>&& backend) : ServiceFramework("IFile"), backend(std::move(backend)) { static const FunctionInfo functions[] = { - {0, &IFile::Read, "Read"}, - {1, &IFile::Write, "Write"}, - {2, nullptr, "Flush"}, - {3, &IFile::SetSize, "SetSize"}, - {4, &IFile::GetSize, "GetSize"}, - {5, nullptr, "OperateRange"}, + {0, &IFile::Read, "Read"}, {1, &IFile::Write, "Write"}, + {2, nullptr, "Flush"}, {3, &IFile::SetSize, "SetSize"}, + {4, &IFile::GetSize, "GetSize"}, {5, nullptr, "OperateRange"}, }; RegisterHandlers(functions); } |
