mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
PPU LLVM: Function table dependent resolver hashing
This commit is contained in:
parent
c443326fb1
commit
0b784ff2c1
5 changed files with 26 additions and 2 deletions
|
@ -1449,6 +1449,8 @@ 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();
|
||||
|
||||
if (!m_map.contains(name))
|
||||
{
|
||||
return;
|
||||
|
@ -1597,6 +1599,9 @@ void patch_engine::apply(std::vector<u32>& applied_total, const std::string& nam
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Ensure consistent order
|
||||
std::sort(applied_total.begin(), applied_total.end());
|
||||
}
|
||||
|
||||
void patch_engine::unload(const std::string& name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue