patch_manager: Do not apply LayeredFS mods when dumping

We should not apply any mods when dumping a game's RomFS.
This commit is contained in:
Morph
2021-06-28 10:07:40 -04:00
parent 6ac978426c
commit 511ee03a21
3 changed files with 8 additions and 4 deletions

View File

@ -64,7 +64,8 @@ public:
// - LayeredFS
[[nodiscard]] VirtualFile PatchRomFS(VirtualFile base, u64 ivfc_offset,
ContentRecordType type = ContentRecordType::Program,
VirtualFile update_raw = nullptr) const;
VirtualFile update_raw = nullptr,
bool apply_layeredfs = true) const;
// Returns a vector of pairs between patch names and patch versions.
// i.e. Update 3.2.2 will return {"Update", "3.2.2"}