diff options
author | Ben Russell <ben@benru.co.uk> | 2020-04-23 14:05:50 +0200 |
---|---|---|
committer | Ben Russell <ben@benru.co.uk> | 2020-04-23 14:06:18 +0200 |
commit | dd43d725c619980bb07d3cae0410b15c51dbdfd7 (patch) | |
tree | e91b3d3e702d18445f40959b744eec8fb10fa597 | |
parent | Merge pull request #3730 from lioncash/time (diff) | |
download | yuzu-dd43d725c619980bb07d3cae0410b15c51dbdfd7.tar yuzu-dd43d725c619980bb07d3cae0410b15c51dbdfd7.tar.gz yuzu-dd43d725c619980bb07d3cae0410b15c51dbdfd7.tar.bz2 yuzu-dd43d725c619980bb07d3cae0410b15c51dbdfd7.tar.lz yuzu-dd43d725c619980bb07d3cae0410b15c51dbdfd7.tar.xz yuzu-dd43d725c619980bb07d3cae0410b15c51dbdfd7.tar.zst yuzu-dd43d725c619980bb07d3cae0410b15c51dbdfd7.zip |
-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..506f75307 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; + 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(); } |