|
|
@ -1304,7 +1304,9 @@ void GMainWindow::OnGameListDumpRomFS(u64 program_id, const std::string& game_pa
|
|
|
|
FileSys::VirtualFile romfs;
|
|
|
|
FileSys::VirtualFile romfs;
|
|
|
|
|
|
|
|
|
|
|
|
if (*romfs_title_id == program_id) {
|
|
|
|
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 {
|
|
|
|
} else {
|
|
|
|
romfs = installed.GetEntry(*romfs_title_id, FileSys::ContentRecordType::Data)->GetRomFS();
|
|
|
|
romfs = installed.GetEntry(*romfs_title_id, FileSys::ContentRecordType::Data)->GetRomFS();
|
|
|
|
}
|
|
|
|
}
|
|
|
|