diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/file_sys/bis_factory.cpp | 8 | ||||
| -rw-r--r-- | src/core/file_sys/bis_factory.h | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/core/file_sys/bis_factory.cpp b/src/core/file_sys/bis_factory.cpp index 70a04f6a0..be737b9ad 100644 --- a/src/core/file_sys/bis_factory.cpp +++ b/src/core/file_sys/bis_factory.cpp | |||
| @@ -18,6 +18,14 @@ BISFactory::BISFactory(VirtualDir nand_root_, VirtualDir load_root_, VirtualDir | |||
| 18 | 18 | ||
| 19 | BISFactory::~BISFactory() = default; | 19 | BISFactory::~BISFactory() = default; |
| 20 | 20 | ||
| 21 | VirtualDir BISFactory::GetSystemNANDContentDirectory() const { | ||
| 22 | return GetOrCreateDirectoryRelative(nand_root, "/system/Contents"); | ||
| 23 | } | ||
| 24 | |||
| 25 | VirtualDir BISFactory::GetUserNANDContentDirectory() const { | ||
| 26 | return GetOrCreateDirectoryRelative(nand_root, "/user/Contents"); | ||
| 27 | } | ||
| 28 | |||
| 21 | RegisteredCache* BISFactory::GetSystemNANDContents() const { | 29 | RegisteredCache* BISFactory::GetSystemNANDContents() const { |
| 22 | return sysnand_cache.get(); | 30 | return sysnand_cache.get(); |
| 23 | } | 31 | } |
diff --git a/src/core/file_sys/bis_factory.h b/src/core/file_sys/bis_factory.h index f8413d4ef..bfebceeaf 100644 --- a/src/core/file_sys/bis_factory.h +++ b/src/core/file_sys/bis_factory.h | |||
| @@ -37,6 +37,9 @@ public: | |||
| 37 | explicit BISFactory(VirtualDir nand_root, VirtualDir load_root, VirtualDir dump_root); | 37 | explicit BISFactory(VirtualDir nand_root, VirtualDir load_root, VirtualDir dump_root); |
| 38 | ~BISFactory(); | 38 | ~BISFactory(); |
| 39 | 39 | ||
| 40 | VirtualDir GetSystemNANDContentDirectory() const; | ||
| 41 | VirtualDir GetUserNANDContentDirectory() const; | ||
| 42 | |||
| 40 | RegisteredCache* GetSystemNANDContents() const; | 43 | RegisteredCache* GetSystemNANDContents() const; |
| 41 | RegisteredCache* GetUserNANDContents() const; | 44 | RegisteredCache* GetUserNANDContents() const; |
| 42 | 45 | ||