summaryrefslogtreecommitdiff
path: root/src/core/hle/service/filesystem
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/filesystem')
-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 @@
11namespace Service::FileSystem { 11namespace Service::FileSystem {
12 12
13IFileSystem::IFileSystem(Core::System& system_, FileSys::VirtualDir dir_, SizeGetter size_getter_) 13IFileSystem::IFileSystem(Core::System& system_, FileSys::VirtualDir dir_, SizeGetter size_getter_)
14 : ServiceFramework{system_, "IFileSystem"}, 14 : ServiceFramework{system_, "IFileSystem"}, backend{std::make_unique<FileSys::Fsa::IFileSystem>(
15 backend{std::make_unique<FileSys::Fsa::IFileSystem>(dir_)}, 15 dir_)},
16 size_getter{std::move(size_getter_)} { 16 size_getter{std::move(size_getter_)} {
17 static const FunctionInfo functions[] = { 17 static const FunctionInfo functions[] = {
18 {0, D<&IFileSystem::CreateFile>, "CreateFile"}, 18 {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 @@
3 3
4#pragma once 4#pragma once
5 5
6#include "common/common_funcs.h"
6#include "core/file_sys/fsa/fs_i_filesystem.h" 7#include "core/file_sys/fsa/fs_i_filesystem.h"
7#include "core/file_sys/vfs/vfs.h" 8#include "core/file_sys/vfs/vfs.h"
8#include "core/hle/service/cmif_types.h" 9#include "core/hle/service/cmif_types.h"
@@ -48,8 +49,8 @@ public:
48 }; 49 };
49 static_assert(sizeof(FileSystemAttribute) == 0xC0, "FileSystemAttribute has incorrect size"); 50 static_assert(sizeof(FileSystemAttribute) == 0xC0, "FileSystemAttribute has incorrect size");
50 51
51 Result CreateFile(const InLargeData<FileSys::Sf::Path, BufferAttr_HipcPointer> path, 52 Result CreateFile(const InLargeData<FileSys::Sf::Path, BufferAttr_HipcPointer> path, s32 option,
52 s32 option, s64 size); 53 s64 size);
53 Result DeleteFile(const InLargeData<FileSys::Sf::Path, BufferAttr_HipcPointer> path); 54 Result DeleteFile(const InLargeData<FileSys::Sf::Path, BufferAttr_HipcPointer> path);
54 Result CreateDirectory(const InLargeData<FileSys::Sf::Path, BufferAttr_HipcPointer> path); 55 Result CreateDirectory(const InLargeData<FileSys::Sf::Path, BufferAttr_HipcPointer> path);
55 Result DeleteDirectory(const InLargeData<FileSys::Sf::Path, BufferAttr_HipcPointer> path); 56 Result DeleteDirectory(const InLargeData<FileSys::Sf::Path, BufferAttr_HipcPointer> path);