Fixed local datapin program generation

This commit is contained in:
York Jasper Niebuhr 2025-10-29 11:35:18 +01:00
parent 280c41367c
commit 94ad5b5090

View File

@ -297,7 +297,7 @@ bool assemble_patcher_program(uint64_t vaddr_pivot, std::vector<uint8_t>& progra
} }
for (const auto& [dpin_sym, dpin] : cu.dpins) { for (const auto& [dpin_sym, dpin] : cu.dpins) {
DPIN global_dpin; DPIN global_dpin = dpin;
for (DPIN::COMPONENT& comp : global_dpin.components) for (DPIN::COMPONENT& comp : global_dpin.components)
comp.target = cu.local_targets.at(comp.target); comp.target = cu.local_targets.at(comp.target);