PPU LLVM: Fixup patches enlisting in analyzer

This commit is contained in:
Elad 2025-01-07 19:39:37 +02:00
parent ec77f2ab92
commit c6f3737c2a
2 changed files with 10 additions and 5 deletions

View file

@ -1449,7 +1449,7 @@ static usz apply_modification(std::vector<u32>& applied, patch_engine::patch_inf
void patch_engine::apply(std::vector<u32>& applied_total, const std::string& name, std::function<u8*(u32, u32)> mem_translate, u32 filesz, u32 min_addr)
{
applied_total.clear();
// applied_total may be non-empty, do not clear it
if (!m_map.contains(name))
{