aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/romfs_factory.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-15 11:07:03 -0800
committerGitHub <noreply@github.com>2020-12-15 11:07:03 -0800
commit2e1b998d5ed676f7d637916a40118450cf0599a1 (patch)
tree77e254b90270dcf28052d79bd6fdddfa9c77783c /src/core/file_sys/romfs_factory.h
parent37bec068c2e3814bf23f1b8c1c6dd00d80191d27 (diff)
parente15039372ea63efb37cdaa70833b2d080931ee3c (diff)
Merge pull request #5119 from Morph1984/fs-opendatastoragewithprogramindex
fsp_srv: Implement OpenDataStorageWithProgramIndex
Diffstat (limited to 'src/core/file_sys/romfs_factory.h')
-rw-r--r--src/core/file_sys/romfs_factory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/file_sys/romfs_factory.h b/src/core/file_sys/romfs_factory.h
index ec704dfa8..96dd0d578 100644
--- a/src/core/file_sys/romfs_factory.h
+++ b/src/core/file_sys/romfs_factory.h
@@ -42,6 +42,10 @@ public:
void SetPackedUpdate(VirtualFile update_raw);
[[nodiscard]] ResultVal<VirtualFile> OpenCurrentProcess(u64 current_process_title_id) const;
+ [[nodiscard]] ResultVal<VirtualFile> OpenPatchedRomFS(u64 title_id,
+ ContentRecordType type) const;
+ [[nodiscard]] ResultVal<VirtualFile> OpenPatchedRomFSWithProgramIndex(
+ u64 title_id, u8 program_index, ContentRecordType type) const;
[[nodiscard]] ResultVal<VirtualFile> Open(u64 title_id, StorageId storage,
ContentRecordType type) const;