summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/filesystem/fsp/fs_i_filesystem.h
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2024-02-10 18:15:58 +0100
committerFearlessTobi <thm.frey@gmail.com>2024-02-19 19:20:40 +0100
commitd5e4617ab5c8b7e72e2155de886135766ce61c7a (patch)
tree5d76b2101df594324bedb323bb5340e24ed7fa7c /src/core/hle/service/filesystem/fsp/fs_i_filesystem.h
parentMerge pull request #13080 from FearlessTobi/scope-exit (diff)
downloadyuzu-d5e4617ab5c8b7e72e2155de886135766ce61c7a.tar
yuzu-d5e4617ab5c8b7e72e2155de886135766ce61c7a.tar.gz
yuzu-d5e4617ab5c8b7e72e2155de886135766ce61c7a.tar.bz2
yuzu-d5e4617ab5c8b7e72e2155de886135766ce61c7a.tar.lz
yuzu-d5e4617ab5c8b7e72e2155de886135766ce61c7a.tar.xz
yuzu-d5e4617ab5c8b7e72e2155de886135766ce61c7a.tar.zst
yuzu-d5e4617ab5c8b7e72e2155de886135766ce61c7a.zip
Diffstat (limited to 'src/core/hle/service/filesystem/fsp/fs_i_filesystem.h')
-rw-r--r--src/core/hle/service/filesystem/fsp/fs_i_filesystem.h5
1 files changed, 3 insertions, 2 deletions
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 b06b3ef0e..d500be725 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 "core/file_sys/fsa/fs_i_filesystem.h"
#include "core/file_sys/vfs/vfs.h"
#include "core/hle/service/filesystem/filesystem.h"
#include "core/hle/service/filesystem/fsp/fsp_util.h"
@@ -12,7 +13,7 @@ namespace Service::FileSystem {
class IFileSystem final : public ServiceFramework<IFileSystem> {
public:
- explicit IFileSystem(Core::System& system_, FileSys::VirtualDir backend_, SizeGetter size_);
+ explicit IFileSystem(Core::System& system_, FileSys::VirtualDir dir_, SizeGetter size_);
void CreateFile(HLERequestContext& ctx);
void DeleteFile(HLERequestContext& ctx);
@@ -31,7 +32,7 @@ public:
void GetFileSystemAttribute(HLERequestContext& ctx);
private:
- VfsDirectoryServiceWrapper backend;
+ std::unique_ptr<FileSys::Fsa::IFileSystem> backend;
SizeGetter size;
};