mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-09-08 06:49:09 +01:00
bis_factory: Add accessors for BIS content directories
This commit is contained in:
parent
3a1899d143
commit
4dae5a52a8
2 changed files with 11 additions and 0 deletions
|
@ -18,6 +18,14 @@ BISFactory::BISFactory(VirtualDir nand_root_, VirtualDir load_root_, VirtualDir
|
||||||
|
|
||||||
BISFactory::~BISFactory() = default;
|
BISFactory::~BISFactory() = default;
|
||||||
|
|
||||||
|
VirtualDir BISFactory::GetSystemNANDContentDirectory() const {
|
||||||
|
return GetOrCreateDirectoryRelative(nand_root, "/system/Contents");
|
||||||
|
}
|
||||||
|
|
||||||
|
VirtualDir BISFactory::GetUserNANDContentDirectory() const {
|
||||||
|
return GetOrCreateDirectoryRelative(nand_root, "/user/Contents");
|
||||||
|
}
|
||||||
|
|
||||||
RegisteredCache* BISFactory::GetSystemNANDContents() const {
|
RegisteredCache* BISFactory::GetSystemNANDContents() const {
|
||||||
return sysnand_cache.get();
|
return sysnand_cache.get();
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,9 @@ public:
|
||||||
explicit BISFactory(VirtualDir nand_root, VirtualDir load_root, VirtualDir dump_root);
|
explicit BISFactory(VirtualDir nand_root, VirtualDir load_root, VirtualDir dump_root);
|
||||||
~BISFactory();
|
~BISFactory();
|
||||||
|
|
||||||
|
VirtualDir GetSystemNANDContentDirectory() const;
|
||||||
|
VirtualDir GetUserNANDContentDirectory() const;
|
||||||
|
|
||||||
RegisteredCache* GetSystemNANDContents() const;
|
RegisteredCache* GetSystemNANDContents() const;
|
||||||
RegisteredCache* GetUserNANDContents() const;
|
RegisteredCache* GetUserNANDContents() const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue