aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-04-28 21:54:06 -0400
committerGitHub <noreply@github.com>2020-04-28 21:54:06 -0400
commit8e64fb322593144600046dac30186ff51086d1ab (patch)
treecf8df258cc6f62a52de5d86068de1b60e940ac87 /src
parentc3c3e0726393775b2e07077bc24f7c32c7561ce4 (diff)
parentbcd0444bb93e600c7d36c992802152de18c8c3aa (diff)
Merge pull request #3771 from benru/dump-romfs-with-updates
Dump RomFS command to include Updates
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 05baec7e13..b44b4276ca 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1304,7 +1304,9 @@ void GMainWindow::OnGameListDumpRomFS(u64 program_id, const std::string& game_pa
FileSys::VirtualFile romfs;
if (*romfs_title_id == program_id) {
- romfs = file;
+ const u64 ivfc_offset = loader->ReadRomFSIVFCOffset();
+ FileSys::PatchManager pm{program_id};
+ romfs = pm.PatchRomFS(file, ivfc_offset, FileSys::ContentRecordType::Program);
} else {
romfs = installed.GetEntry(*romfs_title_id, FileSys::ContentRecordType::Data)->GetRomFS();
}