diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-11-03 14:13:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-03 14:13:46 +0100 |
commit | a0f9a3ab5b591ec32a2c550fd681a29f2e4c3447 (patch) | |
tree | bd11a32ebcb29a3fcc90f5ee4f6659541beddfec /src/core/file_sys/romfs.h | |
parent | Merge pull request #11942 from t895/log-version (diff) | |
parent | romfs: fix extraction of single-directory root (diff) | |
download | yuzu-a0f9a3ab5b591ec32a2c550fd681a29f2e4c3447.tar yuzu-a0f9a3ab5b591ec32a2c550fd681a29f2e4c3447.tar.gz yuzu-a0f9a3ab5b591ec32a2c550fd681a29f2e4c3447.tar.bz2 yuzu-a0f9a3ab5b591ec32a2c550fd681a29f2e4c3447.tar.lz yuzu-a0f9a3ab5b591ec32a2c550fd681a29f2e4c3447.tar.xz yuzu-a0f9a3ab5b591ec32a2c550fd681a29f2e4c3447.tar.zst yuzu-a0f9a3ab5b591ec32a2c550fd681a29f2e4c3447.zip |
Diffstat (limited to 'src/core/file_sys/romfs.h')
-rw-r--r-- | src/core/file_sys/romfs.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/core/file_sys/romfs.h b/src/core/file_sys/romfs.h index 5d7f0c2a8..b75ff1aad 100644 --- a/src/core/file_sys/romfs.h +++ b/src/core/file_sys/romfs.h @@ -7,16 +7,9 @@ namespace FileSys { -enum class RomFSExtractionType { - Full, // Includes data directory - Truncated, // Traverses into data directory - SingleDiscard, // Traverses into the first subdirectory of root -}; - // Converts a RomFS binary blob to VFS Filesystem // Returns nullptr on failure -VirtualDir ExtractRomFS(VirtualFile file, - RomFSExtractionType type = RomFSExtractionType::Truncated); +VirtualDir ExtractRomFS(VirtualFile file); // Converts a VFS filesystem into a RomFS binary // Returns nullptr on failure |