diff options
| author | 2023-11-26 21:08:53 -0500 | |
|---|---|---|
| committer | 2023-11-26 21:08:53 -0500 | |
| commit | 1d11fe00a3000efbf6a0a4bb690e0d544a1b7b4a (patch) | |
| tree | c219aacab776c0a1e3956614b60a01fa2f6164cb /src/core/file_sys/romfs.h | |
| parent | shader_recompiler: Align SSBO offsets in GlobalMemory functions (diff) | |
| parent | Merge pull request #11535 from GPUCode/upload_cmdbuf (diff) | |
| download | yuzu-1d11fe00a3000efbf6a0a4bb690e0d544a1b7b4a.tar.gz yuzu-1d11fe00a3000efbf6a0a4bb690e0d544a1b7b4a.tar.xz yuzu-1d11fe00a3000efbf6a0a4bb690e0d544a1b7b4a.zip | |
Merge branch 'master' into ssbo-align
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 @@ | |||
| 7 | 7 | ||
| 8 | namespace FileSys { | 8 | namespace FileSys { |
| 9 | 9 | ||
| 10 | enum class RomFSExtractionType { | ||
| 11 | Full, // Includes data directory | ||
| 12 | Truncated, // Traverses into data directory | ||
| 13 | SingleDiscard, // Traverses into the first subdirectory of root | ||
| 14 | }; | ||
| 15 | |||
| 16 | // Converts a RomFS binary blob to VFS Filesystem | 10 | // Converts a RomFS binary blob to VFS Filesystem |
| 17 | // Returns nullptr on failure | 11 | // Returns nullptr on failure |
| 18 | VirtualDir ExtractRomFS(VirtualFile file, | 12 | VirtualDir ExtractRomFS(VirtualFile file); |
| 19 | RomFSExtractionType type = RomFSExtractionType::Truncated); | ||
| 20 | 13 | ||
| 21 | // Converts a VFS filesystem into a RomFS binary | 14 | // Converts a VFS filesystem into a RomFS binary |
| 22 | // Returns nullptr on failure | 15 | // Returns nullptr on failure |