mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-11-24 10:53:01 +00:00
bis_factory: Add accessor for NAND Image Directory
This commit is contained in:
parent
4dae5a52a8
commit
9bee885282
2 changed files with 6 additions and 0 deletions
|
@ -88,4 +88,8 @@ VirtualFile BISFactory::OpenPartitionStorage(BisPartitionId id) const {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VirtualDir BISFactory::GetImageDirectory() const {
|
||||||
|
return GetOrCreateDirectoryRelative(nand_root, "/user/Album");
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace FileSys
|
} // namespace FileSys
|
||||||
|
|
|
@ -49,6 +49,8 @@ public:
|
||||||
VirtualDir OpenPartition(BisPartitionId id) const;
|
VirtualDir OpenPartition(BisPartitionId id) const;
|
||||||
VirtualFile OpenPartitionStorage(BisPartitionId id) const;
|
VirtualFile OpenPartitionStorage(BisPartitionId id) const;
|
||||||
|
|
||||||
|
VirtualDir GetImageDirectory() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
VirtualDir nand_root;
|
VirtualDir nand_root;
|
||||||
VirtualDir load_root;
|
VirtualDir load_root;
|
||||||
|
|
Loading…
Reference in a new issue