diff options
author | bunnei <bunneidev@gmail.com> | 2020-04-29 03:54:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-29 03:54:06 +0200 |
commit | 8e64fb322593144600046dac30186ff51086d1ab (patch) | |
tree | cf8df258cc6f62a52de5d86068de1b60e940ac87 /src | |
parent | Merge pull request #3818 from ogniK5377/err-log (diff) | |
parent | Update src/yuzu/main.cpp with missing const (diff) | |
download | yuzu-8e64fb322593144600046dac30186ff51086d1ab.tar yuzu-8e64fb322593144600046dac30186ff51086d1ab.tar.gz yuzu-8e64fb322593144600046dac30186ff51086d1ab.tar.bz2 yuzu-8e64fb322593144600046dac30186ff51086d1ab.tar.lz yuzu-8e64fb322593144600046dac30186ff51086d1ab.tar.xz yuzu-8e64fb322593144600046dac30186ff51086d1ab.tar.zst yuzu-8e64fb322593144600046dac30186ff51086d1ab.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 05baec7e1..b44b4276c 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(); } |