aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/bis_factory.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-04-10 12:10:38 -0400
committerZach Hilman <zachhilman@gmail.com>2019-09-21 16:43:10 -0400
commitb71bda45ae26695665bba45e7a3f84ae5a13d2b3 (patch)
treecede44f2d6f30a8a7b1beeb38375621e07698a20 /src/core/file_sys/bis_factory.h
parent9bee8852829bfb99025397186d9d1b2e7dec9c30 (diff)
bis_factory: Add accessors for BIS placeholder caches
Diffstat (limited to 'src/core/file_sys/bis_factory.h')
-rw-r--r--src/core/file_sys/bis_factory.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/file_sys/bis_factory.h b/src/core/file_sys/bis_factory.h
index 38dcd28dc..6229cd5a9 100644
--- a/src/core/file_sys/bis_factory.h
+++ b/src/core/file_sys/bis_factory.h
@@ -28,6 +28,7 @@ enum class BisPartitionId : u32 {
};
class RegisteredCache;
+class PlaceholderCache;
/// File system interface to the Built-In Storage
/// This is currently missing accessors to BIS partitions, but seemed like a good place for the NAND
@@ -43,6 +44,9 @@ public:
RegisteredCache* GetSystemNANDContents() const;
RegisteredCache* GetUserNANDContents() const;
+ PlaceholderCache* GetSystemNANDPlaceholder() const;
+ PlaceholderCache* GetUserNANDPlaceholder() const;
+
VirtualDir GetModificationLoadRoot(u64 title_id) const;
VirtualDir GetModificationDumpRoot(u64 title_id) const;
@@ -58,6 +62,9 @@ private:
std::unique_ptr<RegisteredCache> sysnand_cache;
std::unique_ptr<RegisteredCache> usrnand_cache;
+
+ std::unique_ptr<PlaceholderCache> sysnand_placeholder;
+ std::unique_ptr<PlaceholderCache> usrnand_placeholder;
};
} // namespace FileSys