summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2024-02-11 22:27:20 +0100
committerFearlessTobi <thm.frey@gmail.com>2024-02-19 19:20:46 +0100
commitba70dc4c13ff84b51d2937f5c8ba873b061cb4c1 (patch)
tree82751935ffc1d9b1ab8a9f3fa0999762b1e6e9b2 /src/core/hle/service
parentfs: Refactor to use cmif serialization (diff)
downloadyuzu-ba70dc4c13ff84b51d2937f5c8ba873b061cb4c1.tar
yuzu-ba70dc4c13ff84b51d2937f5c8ba873b061cb4c1.tar.gz
yuzu-ba70dc4c13ff84b51d2937f5c8ba873b061cb4c1.tar.bz2
yuzu-ba70dc4c13ff84b51d2937f5c8ba873b061cb4c1.tar.lz
yuzu-ba70dc4c13ff84b51d2937f5c8ba873b061cb4c1.tar.xz
yuzu-ba70dc4c13ff84b51d2937f5c8ba873b061cb4c1.tar.zst
yuzu-ba70dc4c13ff84b51d2937f5c8ba873b061cb4c1.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/filesystem/fsp/fs_i_filesystem.cpp4
-rw-r--r--src/core/hle/service/filesystem/fsp/fs_i_filesystem.h5
2 files changed, 5 insertions, 4 deletions
diff --git a/src/core/hle/service/filesystem/fsp/fs_i_filesystem.cpp b/src/core/hle/service/filesystem/fsp/fs_i_filesystem.cpp
index 7fc62cb3e..86dd5b7e9 100644
--- a/src/core/hle/service/filesystem/fsp/fs_i_filesystem.cpp
+++ b/src/core/hle/service/filesystem/fsp/fs_i_filesystem.cpp
@@ -11,8 +11,8 @@
namespace Service::FileSystem {
IFileSystem::IFileSystem(Core::System& system_, FileSys::VirtualDir dir_, SizeGetter size_getter_)
- : ServiceFramework{system_, "IFileSystem"},
- backend{std::make_unique<FileSys::Fsa::IFileSystem>(dir_)},
+ : ServiceFramework{system_, "IFileSystem"}, backend{std::make_unique<FileSys::Fsa::IFileSystem>(
+ dir_)},
size_getter{std::move(size_getter_)} {
static const FunctionInfo functions[] = {
{0, D<&IFileSystem::CreateFile>, "CreateFile"},
diff --git a/src/core/hle/service/filesystem/fsp/fs_i_filesystem.h b/src/core/hle/service/filesystem/fsp/fs_i_filesystem.h
index d07b74938..230ab8d71 100644
--- a/src/core/hle/service/filesystem/fsp/fs_i_filesystem.h
+++ b/src/core/hle/service/filesystem/fsp/fs_i_filesystem.h
@@ -3,6 +3,7 @@
#pragma once
+#include "common/common_funcs.h"
#include "core/file_sys/fsa/fs_i_filesystem.h"
#include "core/file_sys/vfs/vfs.h"
#include "core/hle/service/cmif_types.h"
@@ -48,8 +49,8 @@ public:
};
static_assert(sizeof(FileSystemAttribute) == 0xC0, "FileSystemAttribute has incorrect size");
- Result CreateFile(const InLargeData<FileSys::Sf::Path, BufferAttr_HipcPointer> path,
- s32 option, s64 size);
+ Result CreateFile(const InLargeData<FileSys::Sf::Path, BufferAttr_HipcPointer> path, s32 option,
+ s64 size);
Result DeleteFile(const InLargeData<FileSys::Sf::Path, BufferAttr_HipcPointer> path);
Result CreateDirectory(const InLargeData<FileSys::Sf::Path, BufferAttr_HipcPointer> path);
Result DeleteDirectory(const InLargeData<FileSys::Sf::Path, BufferAttr_HipcPointer> path);