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 b3396ec358
commit 263495a5d5
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"}