diff options
| author | Zach Hilman <zachhilman@gmail.com> | 2019-04-10 12:07:29 -0400 |
|---|---|---|
| committer | Zach Hilman <zachhilman@gmail.com> | 2019-09-21 16:43:10 -0400 |
| commit | 3a1899d143b6b50da6c1ed4fcc03390ef210df75 (patch) | |
| tree | a7b0d364e6e601f8d10a98e01b467b6e8ba337e4 /src/core/file_sys/bis_factory.h | |
| parent | 97b8c9d2c380f11c41b038b6e16466f1fe95526f (diff) | |
bis_factory: Add accessors for BIS partitions
Diffstat (limited to 'src/core/file_sys/bis_factory.h')
| -rw-r--r-- | src/core/file_sys/bis_factory.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/core/file_sys/bis_factory.h b/src/core/file_sys/bis_factory.h index 453c11ad2..f8413d4ef 100644 --- a/src/core/file_sys/bis_factory.h +++ b/src/core/file_sys/bis_factory.h @@ -10,6 +10,23 @@ namespace FileSys { +enum class BisPartitionId : u32 { + UserDataRoot = 20, + CalibrationBinary = 27, + CalibrationFile = 28, + BootConfigAndPackage2Part1 = 21, + BootConfigAndPackage2Part2 = 22, + BootConfigAndPackage2Part3 = 23, + BootConfigAndPackage2Part4 = 24, + BootConfigAndPackage2Part5 = 25, + BootConfigAndPackage2Part6 = 26, + SafeMode = 29, + System = 31, + SystemProperEncryption = 32, + SystemProperPartition = 33, + User = 30, +}; + class RegisteredCache; /// File system interface to the Built-In Storage @@ -26,6 +43,9 @@ public: VirtualDir GetModificationLoadRoot(u64 title_id) const; VirtualDir GetModificationDumpRoot(u64 title_id) const; + VirtualDir OpenPartition(BisPartitionId id) const; + VirtualFile OpenPartitionStorage(BisPartitionId id) const; + private: VirtualDir nand_root; VirtualDir load_root; |
