diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-04-23 20:38:18 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-09-21 22:50:39 +0200 |
commit | a49169e81906d230fd6bfc7546acc6f763f4c321 (patch) | |
tree | eceaf472b9e52755b333f0945d14c4bddc1b741c /src/core/file_sys/romfs_factory.cpp | |
parent | yuzu: Add UI to manage filesystem paths and sizes (diff) | |
download | yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.tar yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.tar.gz yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.tar.bz2 yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.tar.lz yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.tar.xz yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.tar.zst yuzu-a49169e81906d230fd6bfc7546acc6f763f4c321.zip |
Diffstat (limited to 'src/core/file_sys/romfs_factory.cpp')
-rw-r--r-- | src/core/file_sys/romfs_factory.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/file_sys/romfs_factory.cpp b/src/core/file_sys/romfs_factory.cpp index c3ee4a158..84cd4684c 100644 --- a/src/core/file_sys/romfs_factory.cpp +++ b/src/core/file_sys/romfs_factory.cpp @@ -35,7 +35,7 @@ void RomFSFactory::SetPackedUpdate(VirtualFile update_raw) { this->update_raw = std::move(update_raw); } -ResultVal<VirtualFile> RomFSFactory::OpenCurrentProcess() { +ResultVal<VirtualFile> RomFSFactory::OpenCurrentProcess() const { if (!updatable) return MakeResult<VirtualFile>(file); @@ -44,7 +44,8 @@ ResultVal<VirtualFile> RomFSFactory::OpenCurrentProcess() { patch_manager.PatchRomFS(file, ivfc_offset, ContentRecordType::Program, update_raw)); } -ResultVal<VirtualFile> RomFSFactory::Open(u64 title_id, StorageId storage, ContentRecordType type) { +ResultVal<VirtualFile> RomFSFactory::Open(u64 title_id, StorageId storage, + ContentRecordType type) const { std::shared_ptr<NCA> res; switch (storage) { |