VERY experimental Nintendo Switch 2 emulator
C++
Dump RomFS command to include Updates
Ben Russellb14e413c35c8
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cppindex 05baec7e13..506f753072 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_paFileSys::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();}